finetuner
finetuner copied to clipboard
ContextualVersionConflict error for pydantic in colab notebook
Dear,
When I go through the colab notebook of "quora questoin answering" in https://github.com/jina-ai/finetuner I got the version conflict error on the line "import finetuner"
ContextualVersionConflict: (pydantic 2.2.1 (/usr/local/lib/python3.10/dist-packages), Requirement.parse('pydantic~=1.10.11'), {'finetuner-stubs'})
I tried to solve it trying downgrading pydantic to a few older version but did not work.
How can I tackle this?
Hey @malee1382, Try the following:
- Uninstall the current version of the pydantic:
pip uninstall -y pydantic - Install the required version of pydantic:
pip install pydantic==1.10.11
let me know it its work or not :)
@ai-naymul Done this, still not working. Giving me same error. Btw, i am working in google collab.