意见/建议内容
INFO: pip is looking at multiple versions of google-genai to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 28), -r requirements.txt (line 29), -r requirements.txt (line 31), -r requirements.txt (line 32) and google-auth==2.40.3 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested google-auth==2.40.3
google-api-core 2.25.1 depends on google-auth<3.0.0 and >=2.14.1
google-api-python-client 2.181.0 depends on google-auth!=2.24.0, !=2.25.0, <3.0.0 and >=1.32.0
google-auth-httplib2 0.2.0 depends on google-auth
google-genai 1.73.1 depends on google-auth<3.0.0 and >=2.48.1
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
为什么需要这个功能或修改?
requirements.txt 里依然死写着 google-auth==2.40.3,pip 严格按照这个文件执行,所以一直报错!
打开requirements.txt,
把
google-auth==2.40.3,
改成
#google-auth==2.40.3
google-auth
相关链接或参考
No response
补充信息
No response
意见/建议内容
INFO: pip is looking at multiple versions of google-genai to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 28), -r requirements.txt (line 29), -r requirements.txt (line 31), -r requirements.txt (line 32) and google-auth==2.40.3 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested google-auth==2.40.3
google-api-core 2.25.1 depends on google-auth<3.0.0 and >=2.14.1
google-api-python-client 2.181.0 depends on google-auth!=2.24.0, !=2.25.0, <3.0.0 and >=1.32.0
google-auth-httplib2 0.2.0 depends on google-auth
google-genai 1.73.1 depends on google-auth<3.0.0 and >=2.48.1
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
为什么需要这个功能或修改?
requirements.txt 里依然死写着 google-auth==2.40.3,pip 严格按照这个文件执行,所以一直报错!
打开requirements.txt,
把
google-auth==2.40.3,
改成
#google-auth==2.40.3
google-auth
相关链接或参考
No response
补充信息
No response