如何将cmd python从anaconda更改为默认python? [英] How to change cmd python from anaconda to default python?

查看:76
本文介绍了如何将cmd python从anaconda更改为默认python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows Power Shell或cmd使用anaconda python代替默认的Windows安装
如何使他们使用默认的python安装?

windows power shell or cmd uses anaconda python instead of the default windows installation
how to make them use the default python installation?

我的操作系统胜出8.1
python 3.6
蟒蛇python 3.6

my os is win 8.1
python 3.6
anaconda python 3.6

推荐答案

在系统属性中设置默认python解释器的环境路径变量.

Set the environment path variable of your default python interpreter in system properties.

或者如果这不起作用,请执行以下操作:

or if this doesn't work do:

在cmd中 C:\ Python27 \ python.exe yourfilename.py

在命令的第一部分是您的解释器位置,第二部分是您的文件名

in the command first part is your interpreter location and second is your file name

这篇关于如何将cmd python从anaconda更改为默认python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆