python install question

Fredrik Lundh fredrik at pythonware.com
Wed Aug 14 20:11:04 CEST 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.

    /usr/local/bin/python
    /usr/local/lib/python2.1/...

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

    $ python
    >>> import sys
    >>> sys.prefix
    '/usr/local'
    >>> sys.version[:3]
    '2.1'

</F>





More information about the Python-list mailing list