DEV Community

loading...

Setting Anaconda PATH on windows

hygull profile image Rishikesh Agrawani ・1 min read

Anaconda PATH Settings

I have installed Anaconda inside C:\Anaconda5.1Python3.6 directory.

In my case, I have the following 5 paths as the value of PATH environment variable. I have appended these PATHs one after one by putting ; as a separator of 2 PATHs.

C:\Anaconda5.1Python3.6
C:\Anaconda5.1Python3.6\Library\mingw-w64\bin
C:\Anaconda5.1Python3.6\Library\usr\bin
C:\Anaconda5.1Python3.6\Library\bin
C:\Anaconda5.1Python3.6\Scripts

Now you can start new Anaconda promt or Windows command line and type the below command to check Python version.

python --version

You can also run Python interpreter by typing the below command on Anaconda prompt or Windows command line.

python

Everything is ok if you are able to get into the Python interpreter and execute Python statements.

Discussion

pic
Editor guide