Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'pydantic_core._pydantic_core' #3637

Open
digitalmaster opened this issue Mar 25, 2025 · 0 comments
Open

No module named 'pydantic_core._pydantic_core' #3637

digitalmaster opened this issue Mar 25, 2025 · 0 comments

Comments

@digitalmaster
Copy link

Aider version: 0.78.0
Python version: 3.12.5
Platform: macOS-15.3.2-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.3.0 (64bit)
Git version: git version 2.39.2

An uncaught exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 1106, in main
    coder.run()
  File "base_coder.py", line 856, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 897, in run_one
    message = self.preproc_user_input(user_message)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 886, in preproc_user_input
    return self.commands.run(inp)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "commands.py", line 297, in run
    return self.do_run(command, rest_inp)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "commands.py", line 269, in do_run
    return cmd_method(args)
           ^^^^^^^^^^^^^^^^
  File "commands.py", line 1131, in cmd_ask
    return self._generic_chat_command(args, "ask")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "commands.py", line 1156, in _generic_chat_command
    coder.run(user_msg)
  File "base_coder.py", line 849, in run
    self.run_one(with_message, preproc)
  File "base_coder.py", line 903, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1337, in send_message
    litellm_ex = LiteLLMExceptions()
                 ^^^^^^^^^^^^^^^^^^^
  File "exceptions.py", line 58, in __init__
    self._load()
  File "exceptions.py", line 61, in _load
    import litellm
  File "__init__.py", line 9, in <module>
    from litellm.llms.custom_httpx.http_handler import AsyncHTTPHandler, HTTPHandler
  File "http_handler.py", line 10, in <module>
    from litellm.litellm_core_utils.logging_utils import track_llm_api_timing
  File "logging_utils.py", line 7, in <module>
    from litellm.types.utils import (
  File "utils.py", line 8, in <module>
    from openai._models import BaseModel as OpenAIObject
  File "__init__.py", line 8, in <module>
    from . import types
  File "__init__.py", line 5, in <module>
    from .batch import Batch as Batch
  File "batch.py", line 6, in <module>
    from .._models import BaseModel
  File "_models.py", line 24, in <module>
    from pydantic.fields import FieldInfo
  File "fields.py", line 17, in <module>
    from pydantic_core import PydanticUndefined
  File "__init__.py", line 6, in <module>
    from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant