Install a package into the selected interpreter.
py -m pip install <package>Install a package into the selected interpreter.
py -m pip install <package>Install a package into the selected interpreter.
py -m pip install <package>| Option / clause | Description |
|---|---|
<package> | Specify one or more packages to install. |
-r, --requirement <file> | Install packages listed in a requirements file. |
-U, --upgrade | Upgrade specified packages to available newer versions. |
--no-deps | Do not install package dependencies. |
--index-url <url> | Choose the package index URL. |
--user | Install to the user site where supported. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.