Command Python2 not found

kame

I have to use Python2 for the following command: python2 -m pip install SomePackage in the command line. I get the message that Python2is not found, but I have definitly installed Python 2.7.1.

When I run python --version I get the output Python 3.5.1.

Edit: I use Windows. And the commands whereis and env were also not found.

kame

Under windows you have to use:

py -2 yourfilename  // for python2.x
py -3 yourfilename  // for python3.x

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related