[PyKDE] PyQT install fails
Phil Thompson
phil at riverbankcomputing.co.uk
Sun Nov 28 18:05:27 GMT 2004
On Sunday 28 November 2004 12:48 pm, Rick Graves wrote:
> Hello,
>
> I am trying to install eric3 on a CentOS-3 system.
> CentOS-3 is like RedHat's RHEL 3. I cannot install it
> because the PyQt install fails.
>
> I did a fresh CentOS-3 "developement" install to
> start.
>
> The eric3 README lists the steps 1) through 5):
>
> 1. Install Qt
>
> It was already installed -- part of a "development"
> RedHat installation. rpm -qa reports qt-3.1.2-13.4.
>
> 2. Build and install QScintilla
>
> >From the README
> >To configure QScintilla, edit the file
>
> "qscintilla.pro" in the "qt" directory.
>
> I did not edit the file, because I do not understand
> any of the options. But QScintilla built and
> installed without any error messages.
>
> 3. Build and install sip
>
> It was already installed -- part of a "development"
> RedHat installation. rpm -qa reports sip-3.6-1.
>
> 4. Build and install PyQt (watch for a message
> telling, that it is including the qtext module)
>
> The PyQt README says to first run python configure.py.
> I get this:
>
> [root at Bill PyQt-x11-gpl-3.13]# python configure.py
> Traceback (most recent call last):
> File "configure.py", line 31, in ?
> import sipconfig
> ImportError: No module named sipconfig
>
> The locate db is up to date, and there is no sipconfig
> anywhere in the file system.
>
> 5. Install eric3
>
> Not there yet.
>
> I would appreciate your thoughts on what I should try
> next.
If your distro includes SIP then it will also include a compatible version of
PyQt. Your problem is trying to use the latest PyQt with a very ancient
version of SIP.
I would recommend removing your SIP RPM and building SIP v4.1.1. Then build
PyQt again (from a clean install).
Phil
More information about the PyQt
mailing list