Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Python 2.7: no such module pip

4,684 views
Skip to first unread message

jeff saremi

unread,
May 4, 2017, 11:56:22 PM5/4/17
to
Did a fresh install of python-2.7.amd64.msi on windows 10.

The install finishes with success. Python runs. No pip when the following is run:

C:\> python -m pip install elastalert
C:\Python27\python.exe: No module named pip




eryk sun

unread,
May 5, 2017, 12:59:40 AM5/5/17
to
Maybe you didn't select the option to install pip, or maybe it failed
and wasn't reported. Try installing the bundled pip manually:

python -m ensurepip -Uv

jeff saremi

unread,
May 5, 2017, 12:45:29 PM5/5/17
to
Eryk

i checked the installation again. There is no option to select or deselect PIP. I installed with everything included. No pip module is present despite the fact that Python documentation says that PIP is a part of Python installation and does not need to be installed externally.

________________________________
From: eryk sun <ery...@gmail.com>
Sent: Thursday, May 4, 2017 9:58:40 PM
To: pytho...@python.org
Cc: jeff saremi
Subject: Re: Python 2.7: no such module pip

eryk sun

unread,
May 5, 2017, 12:50:15 PM5/5/17
to
On Fri, May 5, 2017 at 4:30 PM, jeff saremi <jeffs...@hotmail.com> wrote:
> i checked the installation again. There is no option to select or deselect
> PIP. I installed with everything included. No pip module is present despite
> the fact that Python documentation says that PIP is a part of Python
> installation and does not need to be installed externally.

You should see the following list of install options:

Register Extensions
Tcl/Tk
Documentation
Utility Scripts
pip
Test Suite
Add python.exe to Path

That said, did you try the manual command that I gave you to install
the bundled pip?

python -m ensurepip -Uv

eryk sun

unread,
May 5, 2017, 1:08:28 PM5/5/17
to
On Fri, May 5, 2017 at 4:57 PM, jeff saremi <jeffs...@hotmail.com> wrote:
>
> There is no such option in the installation. Please take a look at the
> screenshot I enclosed.

Sorry, I overlooked that you said you're installing
"python-2.7.amd64.msi" -- as in 2.7.0. Please download and install
2.7.13:

https://www.python.org/ftp/python/2.7.13/python-2.7.13.amd64.msi

Also, you emailed me directly, so I received the attached picture, but
python-list doesn't relay attachments to subscribers.

jeff saremi

unread,
May 5, 2017, 1:12:47 PM5/5/17
to
Eryk

There is no such option in the installation. Please take a look at the screenshot I enclosed. If in case the pictures get removed, I only have the following options:
RegisterExtensions
Tck/TK

Documentation

UtilityScripts

Test Suite

As for the commands:

C:\>python --version
Python 2.7

C:\>pytnon -m pip install blahblah
'pytnon' is not recognized as an internal or external command,
operable program or batch file.

C:\>python -m pip install blahblah
C:\Python27\python.exe: No module named pip

C:\>python -m ensurepip -Uv
C:\Python27\python.exe: No module named ensurepip


________________________________
From: eryk sun <ery...@gmail.com>
Sent: Friday, May 5, 2017 9:49:18 AM
To: pytho...@python.org
Cc: jeff saremi
Subject: Re: Python 2.7: no such module pip

jeff saremi

unread,
May 5, 2017, 1:33:39 PM5/5/17
to
forgot the attachment

________________________________
From: jeff saremi <jeffs...@hotmail.com>
Sent: Friday, May 5, 2017 9:57:30 AM
To: eryk sun; pytho...@python.org

Terry Reedy

unread,
May 5, 2017, 5:45:51 PM5/5/17
to
On 5/5/2017 1:03 PM, jeff saremi wrote:
> forgot the attachment

This is a no-attachment list


jeff saremi

unread,
May 6, 2017, 2:00:56 AM5/6/17
to
ok thanks a lot. I will try 2.7.13 instead. I don't know how i ended up downloading 2.7.0? I shouldn't have been given the option in the first place. Perhaps the download page could be slightly modified to make things more clear.


________________________________
From: eryk sun <ery...@gmail.com>
Sent: Friday, May 5, 2017 10:07:33 AM
To: pytho...@python.org
Cc: jeff saremi
Subject: Re: Python 2.7: no such module pip

On Fri, May 5, 2017 at 4:57 PM, jeff saremi <jeffs...@hotmail.com> wrote:
>
> There is no such option in the installation. Please take a look at the
> screenshot I enclosed.

0 new messages