PyQt file locations

Bruce Wolk bawolk at ucdavis.edu
Wed Feb 28 23:20:16 EST 2001


Frank,

Here is the solution that solved my problem:
-------------
I had the same trouble with PyQt and RH6.2. The problem is that libsip
installs itself in /usr/local/lib which is not in your library path by
default. The best solution is to add the following line to the end of
/etc/ld.so.conf

/usr/local/lib

and then run /sbin/ldconfig -v as root. You should have no problems after
that.

Good luck,
Arzhang
-------------------
Frank Miles wrote:

> In article <3A9C6E6B.3B727A37 at ucdavis.edu>,
> Bruce Wolk  <bawolk at ucdavis.edu> wrote:
>
> >I have the same files in my site-packages directory, except for qt.pyc.
> >
> >make-install gave me some errors:
>
> [snip]
>
> >Traceback (most recent call last):
> >  File "<string>", line 1, in ?
> >  File "/usr/local/lib/python2.0/site-packages/qt.py", line 43, in ?
> >    import libqtc
> >ImportError: libsip.so.4: cannot open shared object file: No such file or
> >directory
> >make[3]: *** [install-data-hook] Error 1
> >make[3]: Leaving directory `/home/bruce/down/PyQt-2.3/qt'
> >make[2]: *** [install-data-am] Error 2
> >make[2]: Leaving directory `/home/bruce/down/PyQt-2.3/qt'
> >make[1]: *** [install-am] Error 2
> >make[1]: Leaving directory `/home/bruce/down/PyQt-2.3/qt'
> >make: *** [install-recursive] Error 1
> >________________________
> >
> >When I try to run the examples, I get the same ImportError.
> >
> >Any ideas?
>
> I can only say that I am getting a nearly identical set of error messages.
> I'm running Debian 'potato', with Python 1.5.2.  Sip seemed to install ok.
> Anyone have a clue?
>
>         -frank
> --




More information about the Python-list mailing list