Python 2.7 on Windows: Copy&Paste install

jeff saremi jeffsaremi at hotmail.com
Fri May 5 12:33:43 EDT 2017


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 <eryksun at gmail.com>
Sent: Thursday, May 4, 2017 10:21:20 PM
To: python-list at 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 <jeffsaremi at hotmail.com> 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.



More information about the Python-list mailing list