我正在尝试安装库toripchanger。
我曾经这样做过:
C:\Users\Machintruc>pip install toripchanger输出:
Collecting toripchanger
Could not find a version that satisfies the requirement toripchanger (from versions: )
No matching distribution found for toripchanger
You are using pip version 18.0, however version 19.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.所以我更新了pip:
C:\Users\Machintruc>python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/d7/41/34dd96bd33958e52cb4da2f1bf0818e396514fd4f4725a79199564cd0c20/pip-19.0.2-py2.py3-none-any.whl (1.4MB)
100% |################################| 1.4MB 437kB/s
Installing collected packages: pip
Found existing installation: pip 18.0
Uninstalling pip-18.0:
Successfully uninstalled pip-18.0
Successfully installed pip-19.0.2我再次尝试安装:
C:\Users\Machintruc>pip install toripchanger输出:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date.
A future version of pip will drop support for Python 2.7.
Collecting toripchanger
Could not find a version that satisfies the requirement toripchanger (from versions: )
No matching distribution found for toripchanger我不确定升级Python是否有用,而且我不会调试我所有的脚本,因为我升级了Python,2020年离今天还很远。No matching distribution found for toripchanger是否意味着它已经不复存在?
发布于 2019-02-13 21:01:28
它存在,但PyPi版本只支持python3x。您可以查看相关的PyPi page。在左边有一个条目"Programming Language",它只列出了python::3。这就是为什么您的pip找不到与您的设置匹配的版本。
如果需要在同一台计算机上使用这两个python版本,请考虑使用虚拟环境
https://stackoverflow.com/questions/54670697
复制相似问题