When installing python, why pip install than internal or external command timeout error solutions pip install solutions

Newly installed python environment, first reported pip install but not the internal or external command error

 

First check the environment variables, you may not set environment variables

Again, when you install python environment, remember to configure the environment variable python.exeu

Script path should be configured, pip is another script path,

Remember to configure the two paths

xxxx\Programs\Python\Python37-32

xxxx\Programs\Python\Python37-32\Scripts

 

pip install timeout Solutions

Has been using a ladder, still rely on a timeout during the installation.

First check whether the version of the pip needs to be updated, if not the latest version run the update command:

python -m pip install --upgrade pip

If there is still time-out error, then run the command (packageName replaced need to install dependencies name):

pip --default-timeout=100 install -U [packageName]

You can be successful.

Has been using a ladder, still rely on a timeout during the installation.

First check whether the version of the pip needs to be updated, if not the latest version run the update command:

python -m pip install --upgrade pip

If there is still time-out error, then run the command (packageName replaced need to install dependencies name):

pip --default-timeout=100 install -U [packageName]

You can be successful.

Guess you like

Origin www.cnblogs.com/YouxiYouxi/p/11324444.html