mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #248] Failed to determine matplotlib's data directory! #220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pedrobele on GitHub (Feb 27, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/248
Hello,
I have this error... my code (py) is very simple, only for testing...
import numpy as np
print('teste...')
File "C:\Anaconda3\lib\site-packages\pyinstaller-4.9-py3.9-win-amd64.egg\PyInstaller\hooks\hook-matplotlib.py", line 15, in
assert mpl_data_dir, "Failed to determine matplotlib's data directory!"
AssertionError: Failed to determine matplotlib's data directory!
Any ideias?
@brentvollebregt commented on GitHub (Feb 28, 2022):
Two issues here:
Since you are not using matplotlib, we can ignore 2 when solving 1. My recommendation is to use a virtual environment that contains only the libraries you need and auto-py-to-exe - make sure to run auto-py-to-exe from this virtual environment and not the environment containing all the other packages.
@github-actions[bot] commented on GitHub (Apr 30, 2022):
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
@github-actions[bot] commented on GitHub (May 6, 2022):
Closing issue due to no activity in more than 60 days.