python Douban replaces pip to install python module

5 Views

Use 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

Python pip installation speed is slow, and there is always timeout failure##

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

python Douban replaces pip to install python module
How to install the downloaded module in python
CentOS7 install python3 and pip3
Centos6 install python3 pip3 ipython3
CentOS quickly install Python3 and pip3
How to install Python 3.8 on CentOS 8
How to install Python 3.8 on Ubuntu 18.04
Install python package using Douban source
How to install Python on CentOS 8
How to view the python module
Python3 module
How to install third-party modules in Python
R&D: How To Install Python 3 on CentOS 7
How to install Python2 on Ubuntu20.04 ubuntu/focal64
How to learn the Python time module
Use python3 to install third on ubuntu
Centos7 uses yum to install pip, ipython
Centos6 install Python2.7.13
Centos7 install Python 3.6.
ubuntu18.04 install python2
CentOS install Python 3.6
ubuntu12.04 install python3
Centos7 install Python2.7
Python uses the email module to send mail
How to install python in ubuntu server environment
01. Introduction to Python
[Practice] How to install python3.6 on Ubuntu system
Centos install Python3
CentOS6.8 install python2.7
ubuntu18.04 install python
Introduction to Python
Python Lesson 37-Module
What software do I need to install to learn Python?
Python uses the re module to verify dangerous characters
Python3 built-in module usage
Centos 6.4 python 2.6 upgrade to 2.7
Install python3.6 under Ubuntu 16.04
Centos 6.4 python 2.6 upgrade to 2.7
Install Python3 on Ubuntu 14.04
Python3 external module use
Install python in Ubuntu
Install Python3 on Ubuntu 16.04
Prettytable module of python
Install Python3.7 on Ubuntu