Skip to content
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

matplotlib 3.4.x creating a issue #5715

Closed
ask-kumbar opened this issue Apr 8, 2021 · 1 comment
Closed

matplotlib 3.4.x creating a issue #5715

ask-kumbar opened this issue Apr 8, 2021 · 1 comment

Comments

@ask-kumbar
Copy link

python 3.8.8
pyinstaller 4.2
matplotlib 3.4.X

--------This output is for matplotlib 3.4.x version-------------------
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import matplotlib;
print(matplotlib. version)
3.4.1
print(matplotlib._get_data_path())
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'matplotlib' has no attribute '_get_data_path'

I think u need to update the matplotlib hook for this to work properly because if i try to create a bundle of matplotlib its coping the project files from where i am running the pyinstaller into matplotlib->mpl-data directory

---------matplotlib 3.3.4 is working fine for pyinstaller-------

Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import matplotlib;
print(matplotlib._get_data_path())
C:\tools\python3.8\lib\site-packages\matplotlib\mpl-data

please check into it

@ask-kumbar ask-kumbar changed the title matplotlib 3.4.1 creating a issue matplotlib 3.4.x creating a issue Apr 8, 2021
@bwoodsend
Copy link
Member

This is already fixed in #5568.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants