PB to install PyQt-x11-gpl-3.5

Boudewijn Rempt boud at valdyas.org
Fri Feb 7 08:22:46 EST 2003


Gerard Breiner wrote:

> 
> Hello,
> 
> I tried to install PyQt but no success.
> My platform is RedHat 7.0 with Python 1.5.2
> 
> I run the command : pytthon ./build.py and the result is
> Traceback (innermost last):
>    File "./build.py", line 1469, in ?
>      main(sys.argv)
>    File "./build.py", line 1358, in main
>      installChecks()
>    File "./build.py", line 663, in installChecks
>      resp = resp.strip().lower()
> AttributeError: 'string' object has no attribute 'strip'
> 
> Where is the problem ?

I guess in your Python version. I think I remember (but it's long ago that
I've seen 1.5.2) that Python 1.5.2 didn't have a real string class. Just a
string module. I'd suggest you upgrade to a slightly more recent version of
Python, say 2.2.

-- 
Boudewijn Rempt | http://www.valdyas.org




More information about the Python-list mailing list