Python 2.7 cannot import PyQt4

前端 未结 6 1379
無奈伤痛
無奈伤痛 2021-01-04 10:34

I\'ve upgraded to Python 2.7 from Python 2.6 on Ubuntu Maverick Meerkat (10.10) and I\'m unable to import PyQt4.

austin@gerald:~$ python2.7
Python 2.7.0+ (r2         


        
6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-04 10:39

    Under Ubuntu system, you could install it via apt-get

    apt-get install python-qt4
    

提交回复
热议问题