I've installed Python 2.7.9, which comes with already bundled with pip. I've check that it's there in the modules list.
But when I run pip install
I get
SyntaxError: invalid syntax
With install highlighted as the error?
What am I doing wrong?
Seems like you are running pip install
from Python interactive console. Instead, you should run it from Windows console (cmd or PowerShell):
python2.exe -m pip install <package_name>
Where python2.exe
is executable for Python2.7.9 (you may need to include full path to the executable file) and <package_name>
is the name of package you want to install
Append C:\Python27\Scripts;
in PATH variable
where C:\Python27\Scripts;
is the path where pip script is located.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With