【问题标题】:Could not find a version that satisfies the requirement menuinst (from conda)找不到满足 menuinst 要求的版本(来自 conda)
【发布时间】:2019-02-18 16:51:25
【问题描述】:

我正在使用安装了 python 3.7 版的 Windows 10。现在我需要使用命令pip install conda,但它显示错误。我搜索了它,但找不到合适的答案。请帮忙。

C:\Users\ATech>pip install conda
Collecting conda
  Using cached https://files.pythonhosted.org/packages/74/4e/c533c3136427be62c38cc0e038cabf167bb54489c2ced2f6df903c456861/conda-4.3.16.tar.gz
Collecting pycosat>=0.6.1 (from conda)
  Using cached https://files.pythonhosted.org/packages/c0/fd/e38d68774c0a345b0090d608a90f1fbf423970d812f7ec7aef9ac024e648/pycosat-0.6.3.zip
Collecting requests>=2.12.4 (from conda)
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting ruamel.yaml>=0.11.14 (from conda)
  Using cached https://files.pythonhosted.org/packages/ae/84/bcd094e5e1c0bfdfc87e31ecb9505b8d46998a9ab3eefc6a7183be3db84d/ruamel.yaml-0.15.88-cp37-cp37m-win32.whl
Collecting menuinst (from conda)
  Could not find a version that satisfies the requirement menuinst (from conda) (from versions: )
No matching distribution found for menuinst (from conda)

【问题讨论】:

  • 虽然应该可以做到这一点,但您应该注意,使用 pip install condaeasy_install conda 不会将 conda 作为独立应用程序。

标签: python command installation conda


【解决方案1】:

检查PyPi conda project 似乎不支持python 3.7(检查页面左下角)。该包看起来只支持python 3.6。

编辑

虽然我在您的帖子中对此发表了评论,但如果您错过了它,您应该注意使用 pip install condaeasy_install conda 不会将 conda 作为独立应用程序。

【讨论】:

  • 那我该怎么办?
  • 这个问题的答案部分取决于你想用 conda 做什么。无论如何,你有几个明显的选择。您的第一个选择是将您的 python 版本从 3.7 降级到 3.6,然后像以前一样将pip install conda 降级。第二个(可能更明智的选择)是在您的 PC 上安装 Anaconda distribution,它已经附带了 conda 和许多其他为您设置的东西
  • @Ralph 我使用的是 python 3.6.x 版本,但得到与上述用户相同的错误。
猜你喜欢
  • 2019-04-15
  • 2020-02-12
  • 2016-12-29
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-03-20
  • 2020-07-24
相关资源
最近更新 更多