如何解决我正在 Pycharm 中安装 requirements.txt 文件,但出现此错误怎么办
UnsatisfiableError: The following specifications were found to be in conflict:
Solving environment: ...working... Failed
UnsatisfiableError: The following specifications were found to be in conflict:
- aiohttp==3.7.3
- multidict==5.1.0
- pyrsistent==0.15.7
Use "conda info <package>" to see the dependencies for each package.
解决方法
您需要更改错误消息中这 3 个包的 requirements.txt
文件包版本。这些特定版本不存在,或者您已经安装了不同版本的软件包。
要列出特定软件包的可用版本,请按照答案 here
** 一个懒惰的解决方案可以只是将 requirements.txt
文件中的这 3 行更改为:
aiohttp>=3.7.3
multidict>=5.1.0
pyrsistent>=0.15.7
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。