5 Views
pip3 freeze -> requirements.txt
command to migrate module under python##Function introduction: Pack the module name and version of python that has been installed on your computer for easy transplantation.
Open cmd and run: pip3 freeze -> requirements.txt
will generate requirements.txt file
Open cmd and run: pip3 install -r requirements.txt
to install all the modules in the requirements.txt file
Solution:
Recommend Douban download pip3 install -i https://pypi.doubanio.com/simple/
pip3 install -i https://pypi.doubanio.com/simple/Package names
For example: pip3 install -i https://pypi.doubanio.com/simple/ -r requirements.txt
pip3 install -i https://pypi.doubanio.com/simple/ module name
**For example, install the numpy module: **
pip3 install -i https://pypi.doubanio.com/simple/ numpy
Recommended Posts