curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install package-name
pip install requests
pip install package-name==version
pip install --upgrade package-name
pip install --upgrade requests
pip uninstall package-name
pip uninstall requests
pip list
Flask==1.1.1
requests==2.22.0
beautifulsoup4==4.8.1
pip install -r requirements.txt
python -m venv /path/to/new/virtual/environment
source /path/to/new/virtual/environment/bin/activate
deactivate
标签: django优化