I have installed Python 2.7, 3.5.2 and 3.6. I try to install pymodbus3
for Python 3.5.2. When I run
pip install -U pymodbus3 --trusted-host pypi.python.org
I get the error:
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!
I also added Python 3.5.2 to the Python path. What is the next step for analyse my problem?
EDIT:
pip --version
gives me
pip 9.0.1 from C:\Python27\Lib\site-packages (python 2.7)
So I assume that I have to use pip for python3?
Use
pip3
:pip
is for Python 2 andpip3
for Python 3.You can find out where
pip
is located with.On Windows:
or
on Unix/Mac:
or:
The argument
-a
shows you all instances. You can choose one explicitly:On Windows the path might not be set.
should give you the Python executable.
In the same directory should be a sub-directory
Scripts
that containspip3
. Add this to yourPATH
.You can try first with an absolute path: