0

I tried to convert a python script called table.py to .exe The scripts imports openpyxl, pandas, dataframe_image I've tried using the modules in the title as so:

pyinstaller: I ran: pyinstaller --onefile -windowed table.py . When I click the executable there's a popup message saying Failed to execute script table

cx_Freeze: I ran python setup.py build_exe

it printed error: The baseline image directory does not exist. This is most likely because the test data is not installed. You may need to install matplotlib from the source to get the test data.

so I followed the answer here and ran:

pip install "numpy<1.18.3" "pillow<7"
python setup.py build_exe --excludes=matplotlib.tests,numpy.random._examples

and It poped up this message:

enter image description here

Anyone got any ideas on how to proceed now?

BenEz
  • 40
  • 6

0 Answers0