Questions tagged [cx-freeze]

cx_Freeze is a set of scripts and modules for freezing Python scripts (.py) into executable files for Windows (.exe), Mac OS (.app), or Linux.

cx_Freeze is a set of scripts and modules for freezing Python scripts (.py) into executable files for Windows (.exe), Mac OS (.app), or Linux, in much the same way that py2exe and py2app do. These executable files can run on a system without Python installed.

cx_Freeze works with Python versions 2.7 to 3.8.

For Python version 2.7, the latest stable version of cx_Freeze is 5.1.1 (released December 2017) which can be downloaded here: https://pypi.org/project/cx-Freeze/5.1.1/

For Python versions 3.0 to 3.4, the latest stable version of cx_Freeze is 5.0.2 (released May 2017) which can be downloaded here: https://pypi.org/project/cx-Freeze/5.0.2/

For Python versions 3.5 to 3.8, the latest stable version of cx_Freeze is 6.1 (released January 2020) which can be downloaded here: https://pypi.org/project/cx-Freeze/6.1/

Documentation: http://cx-freeze.readthedocs.io/en/latest/index.html

Project: https://anthony-tuininga.github.io/cx_Freeze/

1734 questions
0
votes
1 answer

PyQt Python GUI to Windows application

I created a Python GUI using pyqt4 and after converting it into an exe and running it I am get the following error: **import error: DLL load failed %1 is not a valid win32 application** . I tried pyinstaller, cx_freeze and even py2exe but got the…
Raaj Vamsy
  • 3
  • 2
  • 6
0
votes
1 answer

Executeable Tkinter plus selenium

WEll , i am getting hard to make this works, i have tried Cx_freeze but its showing this: This is the Setup: import sys from cx_Freeze import setup, Executable # Dependencies are automatically detected, but it might need fine…
UnityNewb
  • 361
  • 1
  • 5
  • 17
0
votes
1 answer

Win10: pip install gives error: Unable to find vcvarsall.bat when I want to install cx_Freeze

On Windows 10 I tried to install cx_Freeze with Python 3.5.0 |Anaconda 2.4.0 (64-bit) using: pip install cx_Freeze However, I got this error: error: Unable to find vcvarsall.bat This is the error and some lines above and below the error: …
Rachin
  • 21
  • 1
0
votes
2 answers

cx_freeze and docx - problems when freezing

I have a simple program that takes input from the user and then does scraping with selenium. Since the user doesn't have Python environment installed I would like to convert it to *.exe. I usually use cx_freeze for that and I have successfully…
pawelty
  • 1,000
  • 8
  • 27
0
votes
1 answer

CX_Freeze : Import error : _ufuncs_cxx

I am currently using Python 3.4 on my windows 10 64x and trying to freeze my application using CX_Freeze. Unfortunetly, I get an error message : "Import error : No module named scipy.special._ufuncs_cxx". Here is my setup.py : # -*- coding: Latin-1…
Sadi Aoun
  • 1
  • 4
0
votes
1 answer

How to pass commands to gcc through cx_Freeze

How to pass commands to gcc through cx_Freeze 'disutils.core.setup()' arguments? Specifically, i want my .exe file to use relative paths in traceback messages, rather than the path where i build .exe file Here is my setup.py…
user3126480
0
votes
1 answer

Error using numpy.polyfit in a cx_freezed program

I'm trying to build a standalone program using cx_freeze in Python 3.4. When I execute my program through Python there is absolutely no problems (0 errors, everything works), but when I open the .exe file created with cx_freeze, my GUI (Qt) just…
Rémi G
  • 21
  • 5
0
votes
2 answers

(Python3.4) tkinter messagebox not work when it executed by cx_freeze

import sys from cx_Freeze import setup, Executable build_exe_options = {'packages': ['os','tkinter','random', 'heapq','collections','sys','pickle']} base = None if sys.platform == "win32": base =…
Montague27
  • 81
  • 10
0
votes
1 answer

cx_freeze can't create exe because of encoding

When i want to compile a file with non-ascii character in its name there is no problem. But when i want to add an icon to this executable my troubles appeared. Executable('Tutoriál.pyw', base=base, icon=icon_tutorial) This is setup.py. running…
Vospala
  • 51
  • 5
0
votes
1 answer

cx_Freeze giving error when using fuzzywuzzy

I have built a tkinter GUI for survey entry in python3.4 that uses a number of packages. I then need to compile it to an executable so that I can put it on a coworkers machine (we both are on windows7 platform) I've structured my setup.py to look…
Djones4822
  • 577
  • 3
  • 6
  • 23
0
votes
0 answers

Cx_Freeze app not opening

import cx_Freeze executables = [cx_Freeze.Executable("dodgegame.py")] cx_Freeze.setup( name="A bit Racey", options={"build_exe": {"packages":["pygame"], …
0
votes
1 answer

cx_freeze freezed python program doesn't run - no time to see the error message on executing

so I made that python program using several module including os, zipfile, time, datetime, shutil, shelve and ftplib. I froze it with cx_freeze, it won't run on the target machine (but it run on mine). I'm super new to cx_freeze, but I've poked…
Ming Xuan
  • 165
  • 4
  • 12
0
votes
1 answer

Python - Console closes after the code has been frozen

I wrote an app in Python 2.7 that retrieves the length of media files using moviepy. If I run it from the command line, everything works fine; but after freezing the code, when I run it the console window closes immediately. I've tried cx_freeze,…
Simon TheChain
  • 277
  • 1
  • 16
0
votes
2 answers

Executable using tkinter and multiprocessing creates multiple windows

I have built a gui for a script using tkinter. I have tried building an executable with both cx_freeze and pyinstaller. I make extensive use of scipy, numpy, statsmodels and matplotlib Whenever I click the "Run" button, it spawns another window and…
Jeremy Barnes
  • 642
  • 1
  • 9
  • 24
0
votes
0 answers

How to build a no console executable script in python 3.5

I've tried using PyInstaller but with no luck. Would appreciate some help in building a no-console exe. EDIT In the script I am using a phantomJS and chrome drivers. I've built a system tray application for Windows. I am trying to make an exe out of…
Suhas
  • 131
  • 1
  • 12
1 2 3
99
100