Python 2.7 on Windows: Copy&Paste install

eryk sun eryksun at gmail.com
Fri May 5 01:21:20 EDT 2017


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