-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no __init__.py in matplotlib-1.3.1.win-amd64-py2.7.exe #2611
Comments
@cgohlke - have you seen this before by any chance? |
@pelson you can see
There is a but there isn't any Is this situation normal? |
mpl_toolkits is declared as a namespace package, since other packages, such as basemap etc. put their own code in that namespace. But we do have an |
It looks like how this is supposed to work, is that there is a The |
Closing due to inactivity + affects old version of installer. Can you try with one of the rc installers? https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.4.0rc2/ |
I don't know how PyInstaller work, and I almost get crazy. a) the order of imports: first FileDialog (and I don't need it!!) ... after matplotlib ... import FileDialog b) in my_project.spec hiddenimports = ['scipy.special._ufuncs_cxx','mpl_toolkits.mplot3d'], |
I downloaded
matplotlib-1.3.1.win-amd64-py2.7.exe
from http://matplotlib.org/downloads.html and tried to install matplotlib. After that, I tried to runbut (I ran it in ipython)
I found that there is no
__init__.py
inmpl_toolkits
folder in installedsite-packages
which shows it a importable module. And after I manually added the__init__.py
copied fromhttps://github.com/matplotlib/matplotlib/blob/master/lib/mpl_toolkits/__init__.py
everything got okay.I don't know whether it's caused by my machine or not. If it's indeed a bug, hope developers can fix this, since I spent lots of time 'fixing' this 'bug'.
The text was updated successfully, but these errors were encountered: