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.exefile , make copy of namedpython35.exe - you can use
python35in cmd run 3.5 version of python
do same 3.6 , you're done.
Comments
Post a Comment