You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure no duplicated issue has already been reported. You should look for closed issues, too.
Make sure you are not asking us to help to solve your specific issue. GitHub issues are opened mainly for development purposes. If you want to ask someone to help to solve your problem, go to some community site like StackOverflow, etc.
Make sure your problem is not derived from packaging (e.g. Homebrew).
Describe the bug
Running cxfreeze main.py with Python 3.13 produces the following error because msilib has long been deprecated and has now been removed.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Waldo\AppData\Local\Programs\Python\Python313\Scripts\cxfreeze.exe\__main__.py", line 4, in <module>
from cx_Freeze.cli import main
File "C:\Users\Waldo\AppData\Local\Programs\Python\Python313\Lib\site-packages\cx_Freeze\__init__.py", line 32, in <module>
from cx_Freeze.command.bdist_msi import bdist_msi
File "C:\Users\Waldo\AppData\Local\Programs\Python\Python313\Lib\site-packages\cx_Freeze\command\bdist_msi.py", line 31, in <module>
from msilib import ( # pylint: disable=deprecated-module
...<15 lines>...
)
ModuleNotFoundError: No module named 'msilib'
Prerequisite
Describe the bug
Running
cxfreeze main.py
with Python 3.13 produces the following error becausemsilib
has long been deprecated and has now been removed.To Reproduce
cxfreeze main.py
where cx_freeze is installed and main.py is some Python fileExpected behavior
cxfreeze shouldn't depend on a deprecated module.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: