PyQt4/Qtcore.so error I really need help.
-
@jsulm I followed this:
(1) install sip
sudo python configure.py
make
sudo make install
(2) install some packages
sudo apt-get install libxext6 libxext-dev libqt4-dev libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-designer qt4-qtconfig
(3) install pyqt4
sudo python configure.py
sudo make
sudo make installAfter these instructions,I copied '/usr/lib/python2.7/dist-packages/PyQT4' and '/usr/lib/python2.7/dist-packages/sip.so' to my virualenv
python2.7 .
I can import PyQt4,but when I tried to run ,got the error above ,no other errors. -
Hi,
Why not use the PyQt4 provided by your distribution ?
-
@jxingm said in PyQt4/Qtcore.so error I really need help.:
@SGaist Hi, I'm not sure what you mean... Do you mean the other ways to install PyQt4 ? I have tried pip and .whl ,neither worked.
Can you help?Yes there is: use your distribution package manager aka
apt
apt-cache search pyqt4