python-3.x - 如何安装特定版本的click?
问题描述
我在安装过程中收到以下错误。
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gitsome 0.8.4 requires click<7.0,>=5.1, but you have click 8.0.1 which is incompatible.
我试过了:
pip install click<7.0,>=5.1
这导致
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flask 2.0.1 requires click>=7.1.2, but you have click 6.7 which is incompatible.
解决方案
您有两个不同的错误 - 存在一个您必须解决的版本冲突。gitsome 需要一个旧的点击,而烧瓶需要一个新的点击。唯一的出路是找出哪个包有 gitsome 作为依赖项并尝试更新那个 - 或者只是将 gitsome 更新到接受更新的“点击”的版本。
推荐阅读
- reactjs - 在 npm 更新后反应无状态组件损坏
- ios - Google geocoding api OVER_QUERY_LIMIT 在 5 次请求后发生
- linux - 构建 SELinux 映像 - RPM 包编译错误
- vba - VBA 另存为自定义文件
- asp.net - HttpClient - 没有 mediatypeformatter 可用于读取“模型”类型的对象
- ios - iOS:创建共享代码的项目
- c# - 在c#中反序列化包含数组的Json数据
- jquery - 从 JQuery 中的字符串中提取 HTML 内容
- image - 如何检测压缩图像是否是从未压缩的图像创建的
- javascript - 不要在 html 标签内执行 javascript