How to change cmd python from anaconda to default python?

血红的双手。 提交于 2021-02-08 04:01:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!