Table of contents
Export requirements.txt (offline library list file)
Download dependency packages offline
The second type (manual installation of source code package):
Export requirements.txt (offline library list file)
使用pip freeze > requirement.txt 导出文件requirement.txt
Download dependency packages offline
The first type (pip):
- Offline library export: pip download -d DIR -r LIST (where DIR is the offline library export path, and LIST is the offline library list path)
- Quick installation of offline libraries: pip install --no-index --find-links=DIR -r PATH (where DIR is the path to the offline library folder and PATH is the path to the offline library list file)
The second type (manual installation of source code package):
- Download uwsgi source code package, Pypi official website download
- Unzip
tar -zxvf uwsgi.tar.gz
- Enter directory
cd uwsgi
- Install using python
python setup.py install
- The installation is successful