How-to articles, tricks, and solutions about PIP
'pip' is not recognized as an internal or external command
This error message typically occurs when the command prompt or terminal is not able to find the pip executable.
"pip install unroll": "python setup.py egg_info" failed with error code 1
Here is an example of a command that could cause the error you described:
error: Unable to find vcvarsall.bat
The error: Unable to find vcvarsall.bat message is usually raised when you are trying to install a Python package that requires a C compiler, and the compiler is not installed or cannot be found by Python.
Find which version of package is installed with pip
You can use the following command to check the version of a package installed with pip:
How can I install packages using pip according to the requirements.txt file from a local directory?
To install packages using pip from a local directory, you can use the -r option to specify the path to the requirements.txt file.
How do I get a list of locally installed Python modules?
You can use the pip module to get a list of locally installed Python modules.
How do I install a Python package with a .whl file?
To install a Python package with a .whl file, you can use the pip command.
How do I install pip on macOS or OS X?
To install pip on macOS or OS X, you need to use the Terminal.
How do I update/upgrade pip itself from inside my virtual environment?
To update pip itself from inside your virtual environment, you can use the following command: