Answer the question
In order to leave comments, you need to log in
How to properly install PyQt4 on ubuntu 10.04?
After installation, what via: $ sudo apt-get install python-qt4
what via:
$ python configure.py
$ make
$ make install
from sorts from offsite. from PyQt4.QtCore import QUrl
Answer the question
In order to leave comments, you need to log in
do not use make && make install in package ditras - here is an article for you on the topic
Import like this: from PyQt4.QtCore import QUrl
As for sip api, this is a separate package and when installing from source, you took the latest PyQt4 with the appropriate requirements, instead of You were offered a repository.
I think I had something similar. that is, the symptoms are the same, only the system is Makos.
helped in the working console to execute
export VERSIONER_PYTHON_PREFER_32_BIT=yes
This is not a solution to the problem, but allows you to write and debug code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question