I want to create an executable of my script with cx_freeze.
I use steup.py:
import sys
from cx_Freeze import setup, Executablesetup(
name = "balance",
version = "3.1",
description = "exported data integral",
executables = [Executable("balance1.py", base = "Win32GUI")])
Next I run it in cmd. And then when i start .exe in build folder i get :
Im using Pyzo distribution.
What may couse such error ?
There is an error in cx_freeze version that installs using pip.
Download prepackaged version from here (choose appropriate for your system version): http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze
Install 'wheel' using pip:
pip install wheel
And then install downloaded whl file using pip:
pip install cx_freeze_xxx.whl
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.