I am converting my python 2.7.6 code(which only uses easygui.py (v0.95) into an .exe but I am having trouble when using
python setup.py py2exe
my setup.py
from distutils.core import setup
import py2exe
import easygui
import matplotlib.pyplot as plt
import os
setup(console=["DataAnalysis-v2.5.py"])
top lines of my code
import os
import easygui
import matplotlib.pyplot as plt
***********UPDATE********************** So i am getting an error with numpy and matplot lib. I copied numpy,matplotlib and dateutil from the sitepackages section of portable python and pasted it into the lib site packages section of python 27. For some reason numpy it making the exe close quick and crash.
here is what shows in cmd when i click on the exe
Traceback (most recent call last):
File "DataAnalysis-v2.5.py", line 3, in <module>
File "matplotlib\__init__.pyc", line 838, in <module>
File "matplotlib\__init__.pyc", line 749, in rc_params
File "matplotlib\__init__.pyc", line 664, in matplotlib_fname
File "matplotlib\__init__.pyc", line 292, in wrapper
File "matplotlib\__init__.pyc", line 585, in _get_data_path_cached
File "matplotlib\__init__.pyc", line 581, in _get_data_path
RuntimeError: Could not find the matplotlib data files