[Matplotlib-users] ImportError on Anaconda Win64 system

Jonno jonnojohnson at gmail.com
Fri Oct 30 13:55:28 EDT 2015


I also get the same import error DLL load failed if I set the backend to
WXAgg in matplotlibrc then try from pylab import *



On Fri, Oct 30, 2015 at 7:50 AM, Jens Nielsen <jenshnielsen at gmail.com>
wrote:

> If that fails that is a bug in PyQt/Qt or in your anaconda installation
> and not a Matplotlib bug. You could try reinstall QT and PyQt.
>
> As a workaround you can tell Matplotlib to use a different backend
> http://matplotlib.org/faq/usage_faq.html#what-is-a-backend
>
> BTW the matplotlib mailing list has changed to matplotlib-users at python.org
> .
>
> best
> Jens
>
> fre. 30. okt. 2015 kl. 12.43 skrev Jonno <jonnojohnson at gmail.com>:
>
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> ImportError: DLL load failed: The specified module could not be found.
>>
>> On Fri, Oct 30, 2015 at 2:26 AM, Jens Nielsen <jenshnielsen at gmail.com>
>> wrote:
>>
>>> It sounds like your PyQt package is broken.
>>>
>>> What happens if you do:
>>>
>>> from PyQt4 import QtCore, QtGui
>>>
>>> in a python shell
>>>
>>> /Jens
>>>
>>> fre. 30. okt. 2015 kl. 03.06 skrev Jonno <jonnojohnson at gmail.com>:
>>>
>>>> Not sure where to post this.
>>>>
>>>> I have a fresh Anaconda Win64 python 2.7.10 install which I then
>>>> updated using conda update --all.
>>>>
>>>> If it try to:
>>>> from pylab import *
>>>> I get the following:
>>>>
>>>>
>>>> File "~\Anaconda\lib\site-packages\matplotlib\backends\qt_compat.py",
>>>> line 91, in <module>
>>>>   from PyQt4 import QtCore, QtGui
>>>> ImportError: DLL load failed: The specified module could not be found.
>>>>
>>>>
>>>> I have the following installed:
>>>> qt: 4.8.7
>>>> pyqt 4.11.4
>>>> matplotlib 1.4.3
>>>>
>>>> Should I open an issue on matplotlib github?
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Matplotlib-users mailing list
>>>> Matplotlib-users at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151030/d2d7450c/attachment.html>


More information about the Matplotlib-users mailing list