On 2017-08-30 04:47, Bear Light wrote:
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?
I'm currently on Python 3.6.1 and that did install pip.
寄件者: MRAB
傳送時間: 2017年8月30日 上午 05:07
收件者: python-list@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