python library path on Debian LInux

Ignacio Vazquez-Abrams ignacio at openservices.net
Wed Oct 17 02:30:16 CEST 2001


On 16 Oct 2001, Avdi B. Grimm wrote:

> I'm using Python on a Debian machine, and I've installed both the
> python-1.5 and the python2 packages.  I prefer to use python2.
> Unfortunately, the way the Debian packages are arranged, many of the
> additional libraries available for python (such as PyGTK) are as yet
> only packaged for Python1.5. Apparently libraries packaged for different
> Python versions are installed in different directories, and each python
> executable only sees the libs that were packaged for it.
>
> Now, as I understand it, Python2 shouldn't have any difficulty using the
> python1.5 versions of PyGTK, wxPython, and other such libs. (Correct me
> if I'm wrong). My question is, how can I make the python2 executable
> "see" the python1.5 lib dirs, in a way that is effective system-wide and
> does not have to be specified on the command line every time python is
> executed?

You don't; you recompile PyGTK for whatever version of Python that python2 is.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>

   "As far as I can tell / It doesn't matter who you are /
    If you can believe there's something worth fighting for."
       - "Parade", Garbage





More information about the Python-list mailing list