简体   繁体   中英

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)

I'm using Windows 10 x64. I installed Anaconda3 a while ago. When I installed it, I had the option to check a box labeled "Add Anaconda3 to my PATH environment variable"? 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/ .

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):

系统属性 -> 高级

(the question that led to this question: What did I do to cause environment variables to change when I start the Windows command prompt? )

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.

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. 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. You can edit as per your preference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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