[Tutor] migrating python to a new machine
Jim Mooney
cybervigilante at gmail.com
Wed Apr 8 17:25:45 CEST 2015
Thanks, I'll try Portable. It's got py3 and comes with a bunch of useful
stuff already installed:
http://portablepython.com/wiki/PortablePython3.2.5.1/
Python 3.2.5.1
PyScripter v2.5.3
NymPy 1.7.1
SciPy 0.12.0
Matplotlib 1.2.1
PyWin32 218
NetworkX v1.7
Lxml 2.3
PySerial 2.5
PyODBC 3.0.2
PyQt 4.9.6-1
IPython 0.13.1
Pandas 0.11.0
On 8 April 2015 at 04:44, Zachary Ware <zachary.ware+pytut at gmail.com> wrote:
> On Apr 8, 2015 3:39 AM, "Jim Mooney" <cybervigilante at gmail.com> wrote:
> >
> > General question. I'm thinking of moving to a new machine although I hate
> > to abandon trusty XP. Will I have to reinstall all my pip installed
> modules
> > or can I just copy the site-packages directory? And if so, is anything
> else
> > needed, such as where pip keeps its uninstall info?
>
> The safest method would probably be to do `pip freeze > requirements.txt`,
> copy the requirements.txt file to the new machine, and run `pip install -r
> requirements.txt` there. That way you definitely get everything (and you
> can save the requirements file for backup purposes).
>
> > Finally, is there such a thing as a standalone Python? I use a number of
> > standalone programs so it seems to me it should be possible.
>
> Do you mean like a "portable" app, that doesn't write to the registry and
> keeps everything in one folder? You can try PortablePython; I used it some
> several years ago and it seemed to work fine (but that was when I was just
> starting with Python).
>
> Hope this helps,
> --
> Zach
>
--
Jim
"Stop, Harold! That bagel has radishes!"
"Thank God, Mary - you've saved me again!"
More information about the Tutor
mailing list