我正在尝试安装库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.
所以我更新了点子:
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
确实意味着它已经不存在了吗?
答案 0 :(得分:2)
它存在,但是PyPi版本仅支持python3x。您可以签出相关的PyPi page。左侧有一个条目“ Programming Language”,仅显示my_dict2 = (enzyme_gene.groupby('example column a')['example column b']
.apply(lambda x: ', '.join(x.astype(str)))
.to_dict())
print (my_dict2)
{'a': '2, 4, 2', 'b': '3', 'c': '5, 3'}
。因此,您的python::3
找不到与您的设置匹配的版本。
如果需要在同一台计算机上同时使用两个python版本,请考虑使用虚拟环境