Reputation: 46
When I run setup.py build
, I get the error mentioned in the title above.
Here is my code:
from cx_Freeze import setup, Executable
setup(
name="testing",
version="3.1",
description="test",
executables = [Executable("client.py",base="Win32GUI")])
I am running Python 3.4.
Upvotes: 0
Views: 2458
Reputation: 53
I am using python v3.6. I have solved the problem by installing upgrade for cx_freez issue following command to python
python -m pip install cx_Freeze --upgrade
Upvotes: 4
Reputation: 577
Double check to make sure you have a version of cx_Freeze installed that works with Python 3.4, I have had that error once and this was the problem.
Have you tried using from cx_Freeze import *?
Upvotes: 0