Python#
Pip install#
pip install
Pip freeze#
pip freeze > requirements.txt
Pip install on linux#
- Install pip3
- Mnt the package file to local dir (if it's at somewhere else)
- pip install -no-index --find-links /mnt/simple
Pip install on linux globally#
sudo -H pip install package --no-index --find-links /mnt/simple
Run code on linux#
sudo-H python3 main.py
pip win error#
C:\Users\Acc\AppData\Roaming\pip
For py 3.5, just add http on trusted host and remove http on index url
- For local file