Python包是否需要特定版本?

2024-06-09 02:57:20 发布

您现在位置:Python中文网/ 问答频道 /正文

我想安装https://pypi.python.org/pypi/python-epo-ops-client 我试着从两个最新版本的pip安装它。你知道吗

python 2.7.12和 python 3.5.2版

它说的两个版本

C:\Users\me>pip install python-epo-ops-client 2.1.0
Collecting python-epo-ops-client
  Using cached python_epo_ops_client-2.1.0-py2.py3-none-any.whl
Collecting 2.1.0
  Could not find a version that satisfies the requirement 2.1.0 (from versions:
)
No matching distribution found for 2.1.0

由于我对python完全陌生,问题是:

1)我是否需要安装所有python版本,以查看以上模块与哪个版本兼容? 或者

2)我能知道哪个版本的python与上面的版本兼容吗?你知道吗

我只想为上面的包安装python。请建议。你知道吗


Tags: installpiphttpsorg版本pypiclientusers
1条回答
网友
1楼 · 发布于 2024-06-09 02:57:20

您在python epo ops client&;2.1.0之间有空间,因此它正在尝试安装两个包。你知道吗

(1)python epo ops客户端和 (2) 2.1.0,但没有任何名为“2.1.0”的包

要安装特定版本,您需要提到==。你知道吗

pip install python-epo-ops-client==2.1.0

相关问题 更多 >