简体   繁体   English

Anaconda:如何判断我是否选中了“将 Anaconda3 添加到我的 PATH 环境变量”框?

[英]Anaconda: How do I tell whether I checked the box for "Add Anaconda3 to my PATH environment variable"?

(h/t to Buran for leading me to ask this question) (h/t to Buran引导我问这个问题)

I'm using Windows 10 x64.我正在使用 Windows 10 x64。 I installed Anaconda3 a while ago.我不久前安装了 Anaconda3。 When I installed it, I had the option to check a box labeled "Add Anaconda3 to my PATH environment variable"?当我安装它时,我可以选择标记为“将 Anaconda3 添加到我的 PATH 环境变量”的框? I'm pretty sure that I did not, because I remember googling and finding that I shouldn't.我很确定我没有,因为我记得谷歌搜索并发现我不应该这样做。

This is also discussed on the Anaconda website, thank you to Buran : https://docs.anaconda.com/anaconda/install/windows/ .这也在Anaconda网站上进行了讨论,感谢Buranhttps://docs.anaconda.com/anaconda/install/windows/

But I might have checked the box.但我可能已经勾选了这个框。 Is there a way to figure out whether I checked the box?有没有办法确定我是否选中了该框?

I thought that the right way to check was to look at my environment variables using the Control Panel UI, ie the thing shown below (and clicking the "Environment Variables..." button):我认为正确的检查方法是使用控制面板 UI 查看我的环境变量,即下面显示的内容(并单击“环境变量...”按钮):

系统属性 -> 高级

(the question that led to this question: What did I do to cause environment variables to change when I start the Windows command prompt? ) (导致这个问题的问题: 当我启动 Windows 命令提示符时,我做了什么导致环境变量发生变化?

In environment variables, you will find your env vars for the user and the system, in both you should have a PATH variable, check if inside them there is a link to the anaconda script.在环境变量中,您会找到用户和系统的环境变量,在这两个变量中您都应该有一个 PATH 变量,检查其中是否有指向 anaconda 脚本的链接。

In Windows, Navigate through Control Panel->Advanced system settings->Advanced Tab->Environment Variables There will be 'User variables' and 'System variable', we generally use User variable.在Windows中,通过控制面板->高级系统设置->高级选项卡->环境变量会有'用户变量'和'系统变量',我们一般使用用户变量。 Under 'User variables' select "Path" and click on Edit, Here you will find the list of Paths ordered based on priority of programs for easy access from any directory.在“用户变量”select“路径”下并单击“编辑”,在这里您将找到根据程序优先级排序的路径列表,以便从任何目录轻松访问。 You can edit as per your preference.您可以根据自己的喜好进行编辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM