Discussion:
[Matplotlib-users] ImportError on Anaconda Win64 system
Jonno
2015-10-30 03:06:13 UTC
Permalink
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?
Jens Nielsen
2015-10-30 07:26:57 UTC
Permalink
It sounds like your PyQt package is broken.

What happens if you do:

from PyQt4 import QtCore, QtGui

in a python shell

/Jens
Post by Jonno
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.
from pylab import *
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.
qt: 4.8.7
pyqt 4.11.4
matplotlib 1.4.3
Should I open an issue on matplotlib github?
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Jonno
2015-10-30 12:43:41 UTC
Permalink
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
Post by Jens Nielsen
It sounds like your PyQt package is broken.
from PyQt4 import QtCore, QtGui
in a python shell
/Jens
Post by Jonno
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.
from pylab import *
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.
qt: 4.8.7
pyqt 4.11.4
matplotlib 1.4.3
Should I open an issue on matplotlib github?
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Jens Nielsen
2015-10-30 12:50:07 UTC
Permalink
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-***@python.org.

best
Jens
Post by Jonno
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
Post by Jens Nielsen
It sounds like your PyQt package is broken.
from PyQt4 import QtCore, QtGui
in a python shell
/Jens
Post by Jonno
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.
from pylab import *
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.
qt: 4.8.7
pyqt 4.11.4
matplotlib 1.4.3
Should I open an issue on matplotlib github?
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Loading...