Error after using PyInstaller for script with Matplotlib
问题 In my code I am using: import matplotlib.pyplot as plt import matplotlib.image as mpimg When I build the .py script, everything works fine. But after using the pyinstaller.exe to get the executable file, I get following error: Traceback (most recent call last): File "C:\Program Files\Python38\Scripts\excel_to_python.py", line 10, in <module> File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "