Hello,
I’m trying to convert my python program that uses matplotlib to an exe using py2exe and I’m having a
problem.
Running
python setup.py py2exe
works fine and
creates files in the /dist path. However, when I run the .exe I get a runtime
error (see below)
Traceback (most
recent call last):
File
“out2jpg.py”, line 124, in ?
File “matplotlib\matlab.pyc”, line 497, in figure
File “matplotlib\backends\backend_wx.pyc”, line 1066, in new_figure_manager
File “matplotlib\backends\backend_wx.pyc”, line 1094, in
init
File “matplotlib\backends\backend_wx.pyc”, line 1320, in
init
File “matplotlib\backends\backend_wx.pyc”, line 1340, in _create_controls
File “matplotlib\backends\backend_wx.pyc”, line 1191, in _load_bitmap
File “matplotlib_init_.pyc”, line 157, in get_data_path
RuntimeError: Could not
find the matplotlib data files
–Matt