【问题标题】:Cannot install Pip for a fresh Python 3.2 installation "No matching distribution found for pip<8"无法为全新的 Python 3.2 安装安装 Pip “没有为 pip<8 找到匹配的发行版”
【发布时间】:2021-11-01 02:42:13
【问题描述】:

我在 Windows 10 上创建了全新的 Python 3.2.2 安装。

我从这里得到get_pip.pyhttps://bootstrap.pypa.io/pip/3.2/

我跑了:C:\Python32\python.exe get-pip.py

我的输出:

Collecting pip<8 
Could not find a version that satisfies the requirement pip<8 (from versions: )
No matching distribution found for pip<8

我安装了其他版本的 Python 和 Pip。我错过了什么?

【问题讨论】:

  • 出于兴趣,使用这么老版本的python的动机是什么?
  • 我需要使用 ChemScript20(用于 chemdraw 的 python 接口,它是一个特定于化学的程序)。它仅在 python 2.6 2.7 3.1 和 3.2 上运行
  • 嗯好的,感谢回答
  • 出于同样的原因,我遇到了同样的问题。我可以将 Chemscript 与 chemoffice 安装程序制作的 python 3.2.2 一起使用,但我无法让它在 R/reticulate/anaconda/virtualenv(pip) 中工作
  • 即使有一种方法可以在 Python 3.2 中安装旧版本的 Pip(实际上有),但该 Pip 安装实际上不会起作用。它无法从PyPI 安装软件包,因为它无法找到正确的 URL。无论如何,PyPI 上很少有包可以与 Python 3.2 一起使用。这几个选择,你也可以手动安装,从源代码。

标签: pip python-3.2


【解决方案1】:

而不是https://bootstrap.pypa.io/pip/3.2/
使用https://bootstrap.pypa.io/pip/3.5/

问题是因为您使用的是旧版本的 pip。

【讨论】:

  • 将错误更改为File "c:\users\my_name\appdata\local\temp\tmp5_flww\pip.zip\pip\_internal\cli\progress_bars.py", line 131 phases = (u"\U0001F539", u"\U0001F537", u"\U0001F535") # type: Any 无法评论完整错误,因为最大字符数。
  • 找不到解决方案。你最好改变你的python版本。
  • 感谢您的尝试!
  • 这不起作用,因为 Python 3.5 添加了新语法,而 Pip 只是想在与 Python 3.5 兼容的版本上使用它。但是 Python 3.2 不能使用它。
猜你喜欢
  • 2021-08-02
  • 2018-02-08
  • 2018-10-05
  • 2015-02-17
  • 2016-08-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-12-21
相关资源
最近更新 更多