I installed python 3.4 and python 3.5 to C:\Python34 and C:\Python35 respectively.
and I created two bat files refering to these executables namely python.bat and python35.bat and added them to my PATH. so that I can get
C:\>python -V
Python 3.4.3
C:\>python35 -V
Python 3.5.1
C:\>pip
This works fine for me, except when I want to call PIP because it is actually inside the PythonXX\Scripts\ folder.
Is there an easy way to get away with calling pip and other scripts from cmd,
without typing C:\>Python34\Scripts\pip or C:\>Python35\Scripts\pip each time?
(Note: pip is not the only file I want to run from Scripts folder. can I do the alias for the Scripts directory?)
set PATH=C:\Python35\Scripts;%PATH%in your bat filePATHfor each time you load the bat filepip2.7.exein myc:\Python\Scriptsand apip3.5.exein myc:\Python3\Scriptsfolder so I can be explicit about which one I want at the command line.