windows - Putting Python 3.5 and 3.6 into path and switching between them in command prompt -


i seek able type like

python36

or

python35

in command prompt be able run 3.6 or 3.5 shells, respectively. when type python in command prompt, opens 3.5 shell, , if try specify 3.6 typing python3.6 or python3.5 or python36 or python35, doesn't recognize commands. both installations, checked "add path" box, , have since tried manually add them path using system settings/advanced/environment variables, etc, it's not clear me how best this.

i using windows 7.

you can add both folders environment variables , copy each python.exe python35.exe or python36.exe depending on version.

then can execute using python35 or python36 execute different versions.

for example:

  • navigate python3.5 folder
  • look python.exe file , make copy of named python35.exe
  • you can use python35 in cmd run 3.5 version of python

do same 3.6 , you're done.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -