
Local file (a sdist or wheel format archive, following the namingĮach item identified is added to the set of requirements to be satisfied by Local directory (which must contain a setup.py, or pip will report When looking at the items to be installed, pip checks what type of item Note that pip install prefers to leave the installed version as-is Install the packages (and uninstall anything being upgraded/replaced). All the dependencies that can be are built into wheels. What will be installed is determined here.īuild wheels. The user supplied arguments are processed Pip also supports installing from “requirements files”, which provideĪn easy way to specify a whole environment to be installed. PyPI (and other indexes) using requirement specifiers. Use pip show to check the details of installed package.Py - m pip install. You can use the pip show command described next to check where each package has been installed. The usage of the command is the same for pip, pip2, and pip3.

The pip command is associated with either Python2 or Python3, depending on the environment.įor example, note that if pip is for Python2, packages installed with pip will not work with Python3. Pip2 is the command used to manage packages for Python2, and pip3 is the command used to manage packages for Python3. In environments where Python2 and Python3 coexist, you may be able to use the pip2 and pip3 commands in addition to the pip command.


