python install question

Fredrik Lundh fredrik at
Wed Aug 14 14:11:04 EDT 2002

Doug Stuart wrote:
> Sorry if this is a new one....I have python 2.2.1 compiled and installed
> on solaris 7.  I would like to (need to) get python installed on another
> system that is also running solaris 7.  How do I go about getting this
> over there without recompliling it on the other system?

copy the interpreter (PREFIX/bin/python) and the support library
(PREFIX/lib/pythonX.Y/...) where PREFIX is the installation root and
X.Y is the version number.  e.g.


if you cannot remember where you installed it, you can always ask
the interpreter itself:

    $ python
    >>> import sys
    >>> sys.prefix
    >>> sys.version[:3]


More information about the Python-list mailing list