我有一个私有pypi,并不断将新包framework
上传到该注册表
我想在virtualenv中安装最新的软件包
pip install -i https://user:pass@registry framework
Collecting framework:
... downloads many versions
ERROR: Cannot install framework==0.25.13, framework==0.25.14 and framework==0.26.0 because these package versions have conflicting dependencies.
The conflict is caused by:
framework 0.26.0 depends on toolz<0.12.0 and >=0.11.1
framework 0.25.14 depends on toolz<0.12.0 and >=0.11.1
framework 0.25.13 depends on toolz<0.12.0 and >=0.11.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
我只想下载最新版本。我无法在pip安装时硬编码像framework==0.26.0
这样的版本,因为此命令将在脚本中使用,每次上载新的framework
时,我可能需要修改脚本
pip版本:pip 21.1.2
解决这个问题的方法是使用
extra-index-url
而不是-i
要使用的命令
相关问题 更多 >
编程相关推荐