Using python with Anaconda in Windows
I think you are referring to the command-line use of python
?
If you have admin priviliges on your machine you can add python
to your environment variables, making it available in the console anywhere. (Sorry for different spellings, I am not on an english machine)
- Press
Shift+Pause
("System") - Click "Advanced System Options"
- Click "Environment variables"
- In the lower field with "System variables" there is a variable called
PATH
. Append the complete path to yourpython.exe
without the file to that by adding a;
behind the last path in the variable and then adding your path. Do not add any spaces!
Example: C:\examplepath\;C:\Python27\
When you install anaconda on windows now, it doesn't automatically add Python or Conda to your path.
If you don’t know where your conda and/or python is, you type the following commands into your anaconda prompt (it comes when you install anaconda)
Next, you can add Python and Conda to your path by using the setx command in your command prompt.
Next close that command prompt and open a new one. You should now be able to use the python command. To do this you open a command prompt and type
python nameofPythonfile.py
Source: https://medium.com/@GalarnykMichael/install-python-on-windows-anaconda-c63c7c3d1444