PB to install PyQt-x11-gpl-3.5

Laura Creighton lac at strakt.com
Fri Feb 7 10:00:58 EST 2003


> 
> 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 ?
> 
> Best regards
> -- 
> 
> Gérard Breiner <gerard.breiner at ias.u-psud.fr>
> 
> Institut d'Astrophysique Spatiale
> Bâtiment 121, rue Georges Clémenceau
> 91405 Orsay Campus
> France

Your python is too old.  String methods were added in 2.0 (I think).
Can you install a Python 2.2?  Backporting Python code that needs
modern features to 1.5.2 is no fun.

Laura





More information about the Python-list mailing list