Answer the question
In order to leave comments, you need to log in
After converting py to exe, the program stopped running, why?
Compiled without errors. Here is the setup
from cx_Freeze import setup, Executable
setup(
name = "wxSampleApp",
version = "0.1",
description = "An example wxPython script",
executables = [Executable("First.py")]
)
File "C:\Users\dimooon\AppData\Local\Programs\Python\Python35\lib\encodings\__init__.py", line 31, in
ImportError: No module named 'codecs'
Answer the question
In order to leave comments, you need to log in
The last line says what is missing - the codecs module. Read carefully.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question