I\'m using Anaconda on Windows x64. I\'m trying to install some library using pip. However, the the command line isn\'t recognizing pip or any other scripts. The folder that
When creating your environment, you need to specify pip as a dependency:
conda create --name my-env pip
activate my-env
pip install ...
Installing a new environment with all default anaconda packages:
conda create --name my-env anaconda
Try typing
python -m pip install --upgrade pip
in CMD
It worked for me.
Add script folder location to path, for individual user installation it will be "C:\Users\<user>\Anaconda3\Scripts"
and for everyone installation it can be found in Program Files "C:\Program Files\Anaconda3\Scripts
"
Do this worked for me:
conda install pip
and try:
pip install package_name
Make sure you have the following dir added to PATH:
C:\Python27\Scripts
I had it myself because of my username which uses this character "ï" which causes an encoding problem in the PATH variable. Therefore, scripts cannot be found by anaconda. I had to install Anaconda For everyone and not just the current user to solve this problem.