Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Executable failed
#1
Dear Friends,

I have 6 programs in python. I am using the cx_freeze library to generate these executables.
For 5 of them that are simple codes (file read, data cleanup ...) I was able to run .exe successfully.
However for one of the modules that work with multiple libraries (such as fbprophet, multiprocessing cython, scipy and others) at runtime .exe generates errors and does not execute.
It is noteworthy that without being through .exe the code executes perfectly (python myproject06.py).
Does anyone have any other suggestions for generating .exe that is efficient? Any alternatives?

Thanks!

Python Version:
Python 3.7.4

Operating System:
Windows 10 Pro
İmage
Reply
#2
show the script that you are using for the one that fails.
You need to create a list of files you want to include, and add that to the options clause include_files:listname

There are better packaging packages available, see: https://packaging.python.org/overview/#p...-and-tools
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020