[IPython-User] Ipython qtconsole error
Wim R. Cardoen
Tue Mar 12 21:48:37 CDT 2013
Thanks for your reply.
I can import the modules QtCore, QtGui as well as QtSvg
The error pops however up in the next line:
if QtCore.PYQT_VERSION_STR < '4.7':
# PyQt 4.6 has issues with null strings returning as None
The value of QtCore.PyQT_VERSION_STR in my case is: '4.10'
When you compare the strings '4.10' and '4.7' then the former is indeed
(although version 4.10 is more recent than 4.7)
So, I assume this may be a bug due to a listing contradiction in the PyQt4
On Tue, Mar 12, 2013 at 5:31 PM, Thomas Kluyver <email@example.com> wrote:
> On 12 March 2013 23:17, Wim R. Cardoen <firstname.lastname@example.org> wrote:
>> Do you have any idea how I can remediate this eror?
>> Note that I appended the full path to the Qt/4.8.4/bin directory to the
>> PATH variable and the
>> directory Qt/4.8.4/lib to the LD_LIBRARY_PATH env. variable.
> From a regular IPython prompt, run:
> from PyQt4 import QtCore, QtGui, QtSvg
> That will probably give you an error message that might help with
> $PATH and $LD_LIBRARY_PATH are irrelevant to importing Python modules.
> $PYTHONPATH is the relevant environment variable, but in most situations
> you don't need to set it.
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User