简体   繁体   中英

What is the problem installing pip in python?

I just want to install pip in my system. Why is it showing this message?

在此处输入图片说明

What to do? How to install it?

For assure I have installed python 3.9 which includes pip but didn't recognize it.

在此处输入图片说明

By command python -m pip --version , shows me:

在此处输入图片说明

My installation path => C:\\Python39

在此处输入图片说明

You need to be in the same path where you have put your get-pip.py file.

Please try the command below

python get-pip.py --no-index --find-links=/local/copies

You can try doing it through conda as well. You can install anaconda and then using conda you can install pip

That way you'll be able to make use of the virtual environments as well!

Once you install anaconda from https://www.anaconda.com/products/individual you can use the command below to install pip!

conda install pip

Try these steps

  1. Download get-pip.py file. You can download it from here
  2. Open command prompt and navigate to the folder in which you have downloaded get-pip.py file.
  3. Run python get-pip.py or py get-pip.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM