RuntimeError: Could not find the matplotlib data files

124 views
Skip to first unread message

Sarawut

unread,
Oct 6, 2010, 4:03:42 AM10/6/10
to GUI2Exe
I use GUI2Exe to compile my python code but I found the error as
following. Anyone can give me a suggestion, how to solve this error.
Thanks,
Sarawut

Traceback (most recent call last):
File "main.py", line 5, in <module>
File "ui\MainWindow.pyc", line 11, in <module>
File "matplotlib\__init__.pyc", line 709, in <module>
File "matplotlib\__init__.pyc", line 627, in rc_params
File "matplotlib\__init__.pyc", line 569, in matplotlib_fname
File "matplotlib\__init__.pyc", line 240, in wrapper
File "matplotlib\__init__.pyc", line 483, in _get_data_path_cached
File "matplotlib\__init__.pyc", line 479, in _get_data_path
RuntimeError: Could not find the matplotlib data files

Mike Driscoll

unread,
Oct 6, 2010, 8:52:22 AM10/6/10
to gui...@googlegroups.com


Try adding matplotlib to the packages or modules listbox. My guess is
that py2exe isn't adding matplotlib correctly.

- Mike

Reply all
Reply to author
Forward
0 new messages