CityHost.UA
Help and support

Installing modules via pip

The pip utility is designed to manage Python modules. With its help, you can install, update and remove modules via SSH or WEB-SSH .

 

In the examples below, we will look at the pip-hello-world test module, remember to replace the module name in the commands.

 

Install the module from the repository

/opt/alt/python37/bin/pip install pip-hello-world

 

Update the module to the latest version

 /opt/alt/python37/bin/pip install --upgrade pip-hello-world

 

Remove the module

/opt/alt/python37/bin/pip uninstall pip-hello-world

 

Information about the installed module

/opt/alt/python37/bin/pip show pip-hello-world

 

Update version of pip utility

/opt/alt/python37/bin/pip install --upgrade pip

 

List of installed modules

/opt/alt/python37/bin/pip list

 

List of modules for which there is an update

/opt/alt/python37/bin/pip list --outdated

Similar articles