Open Tanujairam-TG opened 1 year ago
Hey Same error for me . Please any help.
Same error. I tried to change the import statement to " from pydantic_settings import BaseSettings" After this, I started getting below error File "C:\Users\sanv\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydantic\main.py", line 723, in getattr pydantic_extra = object.getattribute(self, 'pydantic_extra') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Collection' object has no attribute 'pydantic_extra'. Did you mean: '__pydantic_complete__'?
Not sure about this error, any help appreciated!
I too got same error! Just downgrade Pydantic V2 to Pydantic V1
pip install "pydantic==1.*"
After that got pypdf Module not found error! So pip install pypdf fixed the issue
after i enter pip install "pydantic==1.*"
now getting error like
ModuleNotFoundError: No module named 'pydantic._internal'
Traceback:
File "/home/ubuntu/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/home/ubuntu/Desktop/bot/Chat-with-PDF-Chatbot/chatbot_app.py", line 17, in
This error came when I opened the link