问题
windows power shell or cmd uses anaconda python instead of the default windows installation
how to make them use the default python installation?
my os is win 8.1
python 3.6
anaconda python 3.6
回答1:
Set the environment path variable of your default python interpreter in system properties.
or if this doesn't work do:
in cmd C:\Python27\python.exe yourfilename.py
in the command first part is your interpreter location and second is your file name
来源:https://stackoverflow.com/questions/44586049/how-to-change-cmd-python-from-anaconda-to-default-python