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

Error with lightning, gradio module #513

Open
zhulongcc opened this issue Dec 16, 2024 · 1 comment
Open

Error with lightning, gradio module #513

zhulongcc opened this issue Dec 16, 2024 · 1 comment

Comments

@zhulongcc
Copy link

it seems like incompatible version of installed modules.
Here is log:
pip install gradio==4.11.0
return:
lightning 2.0.0 requires fastapi<0.89.0, but you have fastapi 0.115.6 which is incompatible.
So i try:
pip install fastapi==0.88
return:
gradio 4.11.0 requires pydantic>=2.0, but you have pydantic 1.10.19 which is incompatible.
wandb 0.19.1 requires pydantic<3,>=2.6, but you have pydantic 1.10.19 which is incompatible.

Then i try:
pip install pydantic==2.6
return:
fastapi 0.88.0 requires pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2, but you have pydantic 2.6.0 which is incompatible.

gradio 4.11.0 need pydantic version>=2.0, but fastapi need pydantic version >=1.6.2 and <2.0.0, thats antinomy!!
How can i solve it plz

@zhulongcc
Copy link
Author

run the pip install -r requirements.txt successfully, so it seems to be solved.
ps: above question occur when i try install 'lightning', 'gradio', and 'nerfacc' one by one.

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