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

Mathplotlib #5717

Closed
PawelDarlak opened this issue Apr 8, 2021 · 1 comment
Closed

Mathplotlib #5717

PawelDarlak opened this issue Apr 8, 2021 · 1 comment
Labels
solution:duplicate Resolved: This issue is a duplicate.

Comments

@PawelDarlak
Copy link

Hello,

I am trying to make exe file with pyinstaller ver. 4.2. Python 3.9.4
When a import matplotlib.pyplot as plt is included to script during compilation I get error:

AttributeError: module 'matplotlib' has no attribute '_get_data_path'

and when try to run program get following error and program crash:

File "matplotlib_init_.py", line 703, in _open_file_or_url
ileNotFoundError: [Errno 2] No such file or directory: 'E:\Python\DiopomatCalc\dist\diopomat\matplotlib\mpl-data\matplotlibrc'
13848] Failed to execute script Diopomat.

Thank you for help in advance
Pavel

@bwoodsend
Copy link
Member

Already fixed by #5568.

@bwoodsend bwoodsend added the solution:duplicate Resolved: This issue is a duplicate. label Apr 8, 2021
@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
solution:duplicate Resolved: This issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

2 participants