![Pip install on windows](https://cdn1.cdnme.se/5447227/9-3/screenshot_7_64e629489606ee7f9d1b7a79.jpg)
![pip install on windows pip install on windows](https://helpdeskgeek.com/wp-content/pictures/2020/02/Install-PIP-Windows.png)
![pip install on windows pip install on windows](https://linuxconfig.org/images/01-install-pip-on-linux.png)
However, you won't be able to access a system or user install from within virtual environment (even if you used -user while in a virtual environment). Packages are installed to the virtual environment by default, but if you use -user it will force it to install outside the virtual environments, in the users python script directory (in Windows, this currently is c:\users\\appdata\roaming\python\python37\scripts for me with Python 3.7). The -user option in an active venv/virtualenv environment will install to the local user python location (same as without a virtual environment).
![pip install on windows pip install on windows](https://commandstech.com/wp-content/uploads/2020/04/pip.png)
Read about how to create and use virtual environments, and the venv command in the Python VENV docs.See more about installing packages with virtual environments in the Python Packaging documentation.Note: Per comments, on most Unix/Linux installs it has been pointed out that system installs should use the general package manager, such as apt, rather than pip.If it is a multi-user machine, -user is preferred to using root/sudo or requiring administrator installation and affecting the Python environment of every user, except in cases of general packages that the administrator wants to make available to all users by default.It will be installed to a different folder, that may or may not need to be added to the path, depending on the package and how it's used (many packages install command-line tools that must be on the path to run from a shell). If it is a single-user machine, there is little or no difference to installing to the -user location.Because there can be version conflicts, installing a package with dependencies needed by other packages can cause problems, so it's best not to push all packages a given user uses to the system install location. Anything installed to the system location will be visible to all users, so installing to the user location will keep that package installation separate from other users (they will not see it, and would have to install it themselves separately to use it). This only really matters on a multi-user machine. See User Installs in the PIP User Guide.Pip -user changes the scope of the current pip command to work on the current user account's local python package install location, rather than the system-wide package install location, which is the default.
![Pip install on windows](https://cdn1.cdnme.se/5447227/9-3/screenshot_7_64e629489606ee7f9d1b7a79.jpg)