pip which should be installed with Python3.62 doesn't workinwindows

Bear Light knon060718 at gmail.com
Wed Aug 30 03:16:07 EDT 2017


I finally solve the problem with Python”3.5.4”
The pip-related files are correctly installed into “scripts”, and I can use the pip command now.

I try to install Python “3.6.2” which was released on 2017-07-17 again, and then there’s still no files in “scripts”.
I still don’t know why but at least the problem killing me lots of time was solved, thx to everyone who saw this mail.

寄件者: Bear Light
傳送時間: 2017年8月30日 上午 11:47
收件者: python-list at python.org
主旨: RE: pip which should be installed with Python3.62 doesn't workinwindows

Thanks for help but it doesn’t work.

(cmd)
C:\Users\user>py -3.6 -m pip install regex
C:\Program Files\Python36\python.exe: No module named pip

The picture that I attached showed similar result.
Though you can see the option of installing pip during python3 installing, the command about pip doesn’t work. 
I can install pip manually, but according to the tutorials, it shouldn’t be necessary.

What’s more, though people say you can find something like pip.py or pip3.py in the Python36/scripts folder, there is nothing in the scripts folder for me. Is it unusual?

寄件者: MRAB
傳送時間: 2017年8月30日 上午 05:07
收件者: python-list at python.org
主旨: Re: pip which should be installed with Python3.62 doesn't work inwindows

On 2017-08-29 20:10, Bear Light wrote:
> I found many rookies like me asking similar question: why "pip" is not
> recognized by cmd?
> I install Python 3.62 64bit in Win10 and I'm sure I add PATH, the Python
> tutorial doesn't even mention about PATH.
> You can see the following picture showing the tutorial doesn't work.

This newsgroup is text-only.

> Please give a hand to the helpless rookies and me.
> 
> [image: 內置圖片 1]
> tutorials url:
> https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments
> 
The best way is to use the Python "launcher" py.exe, which should be on 
the search path, so instead of, say:

     pip install regex

you would write:

     py -3.6 -m pip install regex

This ensures that it's installed into the correct version of Python (in 
this case v3.6).
-- 
https://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list