Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
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 
Sent: Friday, May 5, 2017 10:07:33 AM
To: python-list@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  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.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 2.7 on Windows: Copy&Paste install

2017-05-05 Thread jeff saremi
Thanks very much Eryk. I will look into WinPython. And as for the PYTHONPATH i 
came up with that. I will unset it.


From: eryk sun 
Sent: Thursday, May 4, 2017 10:21:20 PM
To: python-list@python.org
Cc: jeff saremi
Subject: Re: Python 2.7 on Windows: Copy&Paste install

On Thu, May 4, 2017 at 8:27 PM, jeff saremi  wrote:
> I have scoured the net for any hints on this. We have some prod machines 
> where we're not able to run MSI installations.
> Is it possible to copy Python2.7 from say c:\Python2.7 from one machine to 
> another?
> What other steps do we need beyond the following since these DONT work:

Before going deeper into writing scripts to manually install Python,
have you considered using a portable version such as WinPython [1]. It
has an option to register itself.

[1]: https://winpython.github.io

> 3. Add C:\python2.7\Lib and C:\python2.7\Lib\site-packages to PYTHONPATH

Did someone tell you to do that? If so, please tell them it's wrong.
PYTHONPATH should never include those directories. It takes precedence
over the standard library, so adding those directories will break
other versions of Python on the system.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
forgot the attachment


From: jeff saremi 
Sent: Friday, May 5, 2017 9:57:30 AM
To: eryk sun; python-list@python.org
Subject: Re: Python 2.7: no such module pip


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 
Sent: Friday, May 5, 2017 9:49:18 AM
To: python-list@python.org
Cc: jeff saremi
Subject: Re: Python 2.7: no such module pip

On Fri, May 5, 2017 at 4:30 PM, jeff saremi  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
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
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 
Sent: Friday, May 5, 2017 9:49:18 AM
To: python-list@python.org
Cc: jeff saremi
Subject: Re: Python 2.7: no such module pip

On Fri, May 5, 2017 at 4:30 PM, jeff saremi  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
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python 2.7: no such module pip

2017-05-05 Thread jeff saremi
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 
Sent: Thursday, May 4, 2017 9:58:40 PM
To: python-list@python.org
Cc: jeff saremi
Subject: Re: Python 2.7: no such module pip

On Thu, May 4, 2017 at 8:24 PM, jeff saremi  wrote:
> 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

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
-- 
https://mail.python.org/mailman/listinfo/python-list


Python 2.7: no such module pip

2017-05-04 Thread jeff saremi
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




-- 
https://mail.python.org/mailman/listinfo/python-list


bugs.python.org registration never completes

2017-05-04 Thread jeff saremi
i've been waiting for my confirmation email. Never received it

Someone should look into the registration. And there is no admin emails where 
you could send your issue to!

thanks

Jeff

-- 
https://mail.python.org/mailman/listinfo/python-list


Python 2.7 on Windows: Copy&Paste install

2017-05-04 Thread jeff saremi
I have scoured the net for any hints on this. We have some prod machines where 
we're not able to run MSI installations.
Is it possible to copy Python2.7 from say c:\Python2.7 from one machine to 
another?
What other steps do we need beyond the following since these DONT work:
1. Copy all files

2. Add the new Python2.7\bin to PATH

3. Add C:\python2.7\Lib and C:\python2.7\Lib\site-packages to PYTHONPATH


thanks

Jeff
-- 
https://mail.python.org/mailman/listinfo/python-list