How to set Anaconda python as my default python command?

I have both Anaconda and Python 2.7 installed on my Windows machine. The python command is pointing to Python 2.7 right now, but I would like to point to Anaconda python instead. How to set it up?

+5
source share
1 answer

Your PATH points to the original Python executable. You must update your PATH .

(Assuming Windows 7)

Right-click Computer, Properties, Advanced System Settings, then click Environment Variables ....

In the bottom window there are system variables. Scroll down until you find the path, select it and click "Edit." On the screen that appears, update the path pointing to the source python.exe file to the one located in the anaconda path.

Close all open update command windows to take effect.

+4
source

Source: https://habr.com/ru/post/1245281/


All Articles