【发布时间】:2017-05-20 23:07:40
【问题描述】:
我已经安装了 Python 2.7、3.5.2 和 3.6。我尝试为 Python 3.5.2 安装 pymodbus3。当我跑步时
pip install -U pymodbus3 --trusted-host pypi.python.org
我得到错误:
Collecting pymodbus3
Downloading pymodbus3-1.0.0.tar.gz (80kB)
100% |################################| 81kB 6.8MB/s
Complete output from command python setup.py egg_info:
You need python 3.0 or later to run this script!
我还在 Python 路径中添加了 Python 3.5.2。 分析我的问题的下一步是什么?
编辑:
pip --version
给我
pip 9.0.1 from C:\Python27\Lib\site-packages (python 2.7)
所以我假设我必须为 python3 使用 pip?
【问题讨论】:
标签: python python-3.x pip pymodbus3