Copying a compiled Python from one system to another

Chris Angelico rosuav at gmail.com
Sat Oct 1 18:13:23 EDT 2016


On Sat, Oct 1, 2016 at 11:03 PM, Steve D'Aprano
<steve+python at pearwood.info> wrote:
>> Are both Linuxes of broadly similar vintage?
>
> That depends on what you mean by "broadly similar". As far as I am
> concerned, a five year difference is not very much, and is broadly
> similar -- it's not like I'm using Linux from 1991. But the whole point is
> that I need something with gcc 4.8 (maybe 4.7 will do, not sure) but
> certainly not 4.4 which is the most recent I can get on my current systems.

It's a rubbery term, but basically take the year of release of the
distro versions you're using, push 'em forward if they're
bleeding-edge distros or back if they're uber-stable, and try to guess
the age of the libraries they're running. Or check by looking at some
nice over-arching version number like Linux kernel; if they use
similar versions of Linux and libc, they probably have roughly similar
versions of a lot of other libraries, too.

The more similar the library versions, the less issues you'll have.

ChrisA



More information about the Python-list mailing list