How to install Python packages using PIP?

The PIP program enables you to install Python packages.

To use the PIP program, follow these steps:

1.Activate the environment. Please enter the following command. Replace 'experiment' with the environment name.

source ~/experiment/bin/activate

2.Type the following command to search for a certain package or group of packages. Put the name of the package you wish to search for in place of 'pkgname'.

pip search pkgname

3.Type the following command to install a Python package. Put the name of the package you want to install in place of 'pkgname'.

pip install pkgname

Was this answer helpful?

Related Articles

What file permissions must I provide to my Python script files?

The appropriate permissions for Python script files vary depending upon the function of the...

What file formats are acceptable for Python script files?

.py or .cgi extensions are available for Python script files. The .cgi extension is used for...

Where can I find the Python executable's path?

The default Python executable's absolute path on the servers of Hostginger Hosting is...

How to create and activate an environment using Virtualenv in Python?

You can build unique Python environments on your own with the virtualenv application. The...