-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Missing __init__.py file in mpl_toolkits #9823
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
Comments
Its in master, so there is something wrong w/ your install. Closing, but feel free to reopen if you think this is a Matplotlib problem. |
I hit upon this issue regarding the missing
Neither the wheel ( wget https://pypi.python.org/packages/ec/ed/46b835da53b7ed05bd4c6cae293f13ec26e877d2e490a53a709915a9dcb7/matplotlib-2.2.2.tar.gz
tar -x -O - -f matplotlib-2.2.2.tar.gz matplotlib-2.2.2/lib/mpl_toolkits/__init__.py > /usr/local/lib/python3.6/site-packages/mpl_toolkits/__init__.py Why pip seems to neglect that file, which is right there in the tarball, I don't know. |
Maybe the toolkits aren't being installed by default in the pip build? Re-opening to attract attention from someone who knows more about the builds and pip.... |
If we keep the mpl_toolkits namespace around (really not clear it's worth it, but heh), we should probably just make it an implicit namespace package (per https://packaging.python.org/guides/packaging-namespace-packages/#native-namespace-packages) in 3.0. |
Closing as duplicate of #25244, as that's where discussion is happening. |
Bug report
Bug summary
I am building python-matplotlib RPM for Fedora and I've found out that I cannot execute tests because the file
mpl_toolkits/__init__.py
is missing.Code for reproduction
Actual outcome
Expected outcome
Existing
__init__.py
file in/usr/lib64/python2.7/site-packages/mpl_toolkits/
and running tests.Matplotlib version
print(matplotlib.get_backend())
): TkAggThe text was updated successfully, but these errors were encountered: