DEV Community

loading...

Setting Anaconda PATH on windows

Rishikesh Agrawani
Python/Django developer
・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
Enter fullscreen mode Exit fullscreen mode

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

python --version
Enter fullscreen mode Exit fullscreen mode

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

python
Enter fullscreen mode Exit fullscreen mode

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

Discussion (0)