pip

Install pip

On CentOS

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

On Ubuntu

apt install python-pip

On Ubuntu, python3

apt install python3-pip

Install a python module from github using pip

cd /opt/bench
git clone https://github.com/frappe/bench bench-repo

Now run

pip install -e bench-repo

Install modules from requirments.txt

pip install -r requirements.txt 

To create requirements.txt file, run

pip freeze > requirements.txt
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *