pip
Install pip
On CentOS
1 2 |
wget https://bootstrap.pypa.io/get-pip.py python get-pip.py |
On Ubuntu
1 |
apt install python-pip |
On Ubuntu, python3
1 |
apt install python3-pip |
Install a python module from github using pip
1 2 |
cd /opt/bench git clone https://github.com/frappe/bench bench-repo |
Now run
1 |
pip install -e bench-repo |
Install modules from requirments.txt
1 |
pip install -r requirements.txt |
To create requirements.txt file, run
1 |
pip freeze > requirements.txt |