-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Hello,
I'm trying to create an executable with CX_Freeze.
When I declare packages with pyforms_gui I've got an error.
packages = ["idna","pyforms","pyforms_gui"]
_D:\OneDrive\OneDrive - Q-Matic AB\00_Python\bin\devGUI>python setup2.py build
running build
running build_exe
Traceback (most recent call last):
File "setup2.py", line 23, in <module>
executables = executables
File "D:\Python\lib\site-packages\cx_Freeze\dist.py", line 349, in setup
distutils.core.setup(**attrs)
File "D:\Python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\Python\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Python\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\Python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\Python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Python\lib\site-packages\cx_Freeze\dist.py", line 219, in run
freezer.Freeze()
File "D:\Python\lib\site-packages\cx_Freeze\freezer.py", line 624, in Freeze
self.finder = self._GetModuleFinder()
File "D:\Python\lib\site-packages\cx_Freeze\freezer.py", line 347, in _GetModuleFinder
finder.IncludePackage(name)
File "D:\Python\lib\site-packages\cx_Freeze\finder.py", line 661, in IncludePackage
self._ImportAllSubModules(module, deferredImports)
File "D:\Python\lib\site-packages\cx_Freeze\finder.py", line 288, in _ImportAllSubModules
recursive)
File "D:\Python\lib\site-packages\cx_Freeze\finder.py", line 283, in _ImportAllSubModules
raise ImportError("No module named %r" % subModuleName)
ImportError: No module named 'pyforms_gui.utils.BioradWriter'_
What is utils.BioradWriter? How could I import it?
Regards,
Jason.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels