简体   繁体   English

在 Conda venv 中安装软件包时如何解决此错误?

[英]How do I resolve this error when installing packages in a Conda venv?

I am trying to install pygame in my python 3.6.10 Conda venv.我正在尝试在我的 python 3.6.10 Conda venv 中安装 pygame。 When I ran: conda install -c cogsci pygame it gave me an unsatisfiable error saying: - pip -> python[version='>=3.7,<3.8.0a0'] (I am on windows 10 btw). When I ran: conda install -c cogsci pygame it gave me an unsatisfiable error saying: - pip -> python[version='>=3.7,<3.8.0a0'] (I am on windows 10 btw). Does this mean that my version of pip requires python 3.7?这是否意味着我的 pip 版本需要 python 3.7? How do I fix this?我该如何解决?

This seems like you need to upgrade your python to version 3.7.这似乎您需要将 python 升级到 3.7 版。 Upgrade your python to 3.7.x but not to 3.8 as it says >=3.7, <3.8将您的 python 升级到 3.7.x 但不是升级到 3.8,因为它说 >=3.7,<3.8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM