PIP
|
1 min read
PIP
Freeze
For list the existing installed packages
pip freeze
Install directory
#cd <directory>
py -m pip install -r requirements.txt
or
pip install -r requirements.txt
Proxy
pip install <package> --proxy <proxy:port>
Create requirements.txt automatically
pip install pipreqs
pipreqs /path/to/project