Using pip to install Python modules

To run the commands in this article, you must log into your server via SSH with your Shell user. View the following articles for more information:

pip installation

In order to install various Python packages, and Django in particular, you'll want pip. This is pre-installed on shared servers, but if necessary, you can use the following to download:

[server]$ curl https://bootstrap.pypa.io/get-pip.py > ~/tmp/get-pip.py python ~/tmp/get-pip.py --user

Installing custom modules

It’s recommended that you use pip to easily install custom modules. For example:

[server]$ pip install <module>

For example, (e.g., MySQL-python if you're going to use a MySQL database) for your website using pip:

[server]$ pip install MySQL-python

View the following link for further details:

See also

Did this article answer your questions?

Article last updated .