Hi there, I am using Cx Freeze version 6.14.7, on Windows 10 Virtual machine (on Azure). After freezing the app, I get import error.
My Project Structure,
Project
core/
.... all python files under core
net/
......
utils/
__init__.py
logger.py
....
ui//
When running the exe file, I am getting,
ModuleNotFound: No Module named utils.
Theres __init__.py file inside all packages. Why am i getting this module not found error???
NOTE;
When I tried earlier with cx freeze 6,5,3, on my older machine on Windows 10, I have got no issues with the cx freeze and the executable is working properly without any errors. Moving to Azure virtual machine windows 10, with latest version is throwing me above error.
When downgrading cx freeze to 6.10 or 6.5.3(which was working earlier) I get below error,
Traceback (most recent call last):
File "setup.py", line 3, in <module>
from cx_Freeze import setup, Executable
File "C:\Users\windows\AppData\Local\Programs\Python\Python38\lib\site-packages\cx_Freeze\__init__.py", line 3, in <module>
from .dist import bdist_rpm, build, build_exe, install, install_exe, setup
File "C:\Users\windows\AppData\Local\Programs\Python\Python38\lib\site-packages\cx_Freeze\dist.py", line 18, in <module>
from .windist import bdist_msi
File "C:\Users\windows\AppData\Local\Programs\Python\Python38\lib\site-packages\cx_Freeze\windist.py", line 1, in <module>
import distutils.command.bdist_msi
ModuleNotFoundError: No module named 'distutils.command.bdist_msi'
Hi there, I am using Cx Freeze version
6.14.7
, on Windows 10 Virtual machine (on Azure). After freezing the app, I get import error. My Project Structure,When running the exe file, I am getting,
Theres
__init__.py
file inside all packages. Why am i getting this module not found error???NOTE; When I tried earlier with cx freeze
6,5,3
, on my older machine on Windows 10, I have got no issues with the cx freeze and the executable is working properly without any errors. Moving to Azure virtual machine windows 10, with latest version is throwing me above error.When downgrading cx freeze to
6.10
or6.5.3
(which was working earlier) I get below error,