ImportError: Warning: formlayout requires PyQt4 >v4.3

I am on RHEL5 with QT 4.2.1 installed. I am stuck with that version of QT
and can't go up.

I have PyQt 4.4.4 with SIP 4.7.8. That seems to be one of the few
combinations that would build with this version of QT. It took forever for
me to find sources for the other versions.

I tried installing matplotlib 1.0 and 0.99 but if I set the backend to
Qt4Agg, I get an error when I try "show()": 'ImportError: Warning:
formlayout requires PyQt4 >v4.3'

Can anyone help with this?

···

--
Enrico Ng

Hi everyone,

I get the same error ( 'ImportError: Warning: formlayout requires PyQt4

v4.3' ). I have spent a lot of hours but I am not able to solve it. I would

be very grateful if someone could let me know if there is a solution.

Thanks in advance.

Oriol

···

--
View this message in context: http://old.nabble.com/ImportError%3A-Warning%3A-formlayout-requires-PyQt4->v4.3-tp30467668p31109031.html
Sent from the matplotlib - devel mailing list archive at Nabble.com.

Would you please try replacing your backend_qt4.py with the attached
file and let me know if it solves the problem?

backend_qt4.py (26 KB)

···

On Wed, Mar 9, 2011 at 1:23 PM, OriolV <ori_ven@...476...> wrote:

Hi everyone,

I get the same error ( 'ImportError: Warning: formlayout requires PyQt4

v4.3' ). I have spent a lot of hours but I am not able to solve it. I would

be very grateful if someone could let me know if there is a solution.

Thanks in advance.