from ._pydantic_core import ( ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'
Labels: name: auto:bug, name: area: models

### Issue you'd like to raise.

I'm trying to run the local llama 2-7b version. I've installed llama-cpp-python and all other requirements. When I run the code I constantly get the error which says 


Here is my code 
`
from langchain.llms import LlamaCpp
from langchain import PromptTemplate, LLMChain
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from pydantic import *

MODEL_PATH = "/D:/llama2-7b.bin"


def load_model():
    """Loads Llama model"""
    callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
    Llama_model = LlamaCpp(
        model_path=MODEL_PATH,
        temperature=0.5,
        max_tokens=2000,
        top_p=1,
        callback_manager=callback_manager,
        verbose=True

    )
    return Llama_model


llm = load_model()

model_prompt = """
Question:What is the largest planet discovered so far?

"""

response = llm(model_prompt)

print(response)


`
This is the error
`
PS D:\Python Projects\python> python learn.py
Traceback (most recent call last):
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\pydantic_v1\__init__.py", line 15, in <module>
    from pydantic.v1 import *  # noqa: F403
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\pydantic\__init__.py", line 3, in <module>
    import pydantic_core
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\pydantic_core\__init__.py", line 6, in <module>
    from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python Projects\python\learn.py", line 1, in <module>
    from langchain.llms import LlamaCpp
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\__init__.py", line 6, in <module>
    from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\agents\__init__.py", line 31, in <module>
    from langchain.agents.agent import (
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\agents\agent.py", line 14, in <module>
    from langchain.agents.agent_iterator import AgentExecutorIterator
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\agents\agent_iterator.py", line 21, in <module>
    from langchain.callbacks.manager import (
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\callbacks\__init__.py", line 10, in <module>
    from langchain.callbacks.aim_callback import AimCallbackHandler
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\callbacks\aim_callback.py", line 5, in <module>
    from langchain.schema import AgentAction, AgentFinish, LLMResult
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\schema\__init__.py", line 3, in <module>
    from langchain.schema.cache import BaseCache
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\schema\cache.py", line 6, in <module>
    from langchain.schema.output import Generation
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\schema\output.py", line 7, in <module>
    from langchain.load.serializable import Serializable
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\load\serializable.py", line 4, in <module>
    from langchain.pydantic_v1 import BaseModel, PrivateAttr
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\langchain\pydantic_v1\__init__.py", line 17, in <module>
    from pydantic import *  # noqa: F403
    ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\pydantic\__init__.py", line 3, in <module>
    import pydantic_core
  File "C:\Users\krish\anaconda3\envs\lang\Lib\site-packages\pydantic_core\__init__.py", line 6, in <module>
    from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'
PS D:\Python Projects\python> 
`

I tried installing pydantic but to no avail. 
Please help

Python version = 3.11.4
pip version =23.2.1


### Suggestion:

_No response_