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

Python exe - Cx_Freeze - ImportError DLL load failed

In my machine (Windows), I can use my executable of my python program. But if I try on the machine of another person(Windows), it doesn't work. The executable blocks at the line : from unqlite import UnQLite I have fixed his dependency in packages…
tawnydev
  • 1
  • 3
0
votes
0 answers

cx_Freeze: Python error in main script

I am a beginner in python and django. This error keeps coming, even after installing cx_freeze from http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze I am trying to make an executable file and I want to run my server through it, which I normally…
Harshit Gupta
  • 51
  • 1
  • 5
0
votes
1 answer

Error installing cx_Freeze on Ubuntu 16.04 [Errno 2]

I am trying to install cx_Freeze on Ubuntu 16.04. Pip installation does not work, so I have downloaded a tarball (tar.gz), extracted it and moved the cx_Freeze folder to my home directory. I have navigated to the cx_freeze folder and used this…
0
votes
1 answer

Need to get cx_freeze (or Pyinstaller) to pick up Taurus package.

I can't seem to get cx_freeze to pick up Taurus. Taurus is similar to PyQt and PySide. I designed me GUI with Taurus Designer (similar to QT Designer). Interestingly enough cx_freeze picks up PySide which isn't even used. I think it may be confusing…
Mike C.
  • 1,761
  • 2
  • 22
  • 46
0
votes
1 answer

cx_freeze issue python3 setup file

How do I add {'include_files':includefiles} to the options field down below? All I get is an error in python. from cx_Freeze import setup, Executable as cxExecutable import platform import sys # -*- coding: utf-8 -*- base = None if sys.platform…
0
votes
1 answer

cx_Freeze and win32ui - ImportError: DLL load failed

I'm trying to build an exe with cx_Freeze. It worked before but since I have imported win32ui in my Python program, I get this error when running the created exe file: I double checked, the following line is the cause: import win32ui Importing…
Ziph0n
  • 197
  • 1
  • 1
  • 7
0
votes
0 answers

cx_Freeze importError : libBLT.2.5.so.8.6 with Tkinter when executing app on fresh Linux installation

I'm new to cx_Freeze and need to deploy a Tkinter app (python 2.7.11) as executable on several OS. I successfully deployed my app on Windows, working on 7 and 10 without python installed. Now I'm struggling with Linux deployment. I successfully…
Sogeking
  • 25
  • 1
  • 4
0
votes
2 answers

Python: ftfy causes app crash when compiled to exe using pyinstaller, cx_freeze or p2exe

Whenever I import ftfy, and use it in my python script apps, I have no problems at all. If I compile to binary exe using pyinstaller, cx_freeze or py2exe, my app will compile without problems, but crashes every time time when I run the app. The…
0
votes
0 answers

cx_Freeze cannot find matplotlib file

I am trying, and reeaally trying to make this work, but it just aint working. I am trying to create an executable of a program with multiple files that imports all kinds of modules. I therefore created the following setup.py file: import…
user3604362
  • 361
  • 1
  • 5
  • 19
0
votes
1 answer

SSL exception while converting to *.exe with cx_freeze

After converting of my program to EXE with cx_freeze I get the following error: Traceback (most recent call last): File "C:\Users\tyszkap\AppData\Local\Continuum\Anaconda3\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 292, in…
pawelty
  • 1,000
  • 8
  • 27
0
votes
0 answers

Python/pyserial cx_freeze Compilation error: no module named tools

I am trying to compile a python code with cx_freeze in Windows 7, python 2.7, but it keeps giving me trouble because of pyserial. I tried to import the pyserial tools module in many different ways but I keep getting compilation errors: import…
Lightwave
  • 1
  • 1
0
votes
1 answer

Access Violation Error After Cx_Freeze/py2exe Qt5.5.1 App

I used QtDesigner for designing GUI and use pyuic5 for generating python code. After freezing it with cxfreeze or py2exe, app crashes on setupUI function, which is pyuic5 generated. When running app from code, it works as it supposed to. I use…
ayyayyekokojambo
  • 1,165
  • 3
  • 13
  • 33
0
votes
1 answer

cx_Freeze cannot find QtDesigner framework

I am trying to convert my Python app to executable, I found that cx_Freeze would be easiest to modify and use it for my needs. This is my setup.py script: from cx_Freeze import setup, Executable includefiles = ['Leaderboard.txt'] includes =…
ShellRox
  • 2,532
  • 6
  • 42
  • 90
0
votes
0 answers

Cx_Freeze 'NoneType' object has no attribute 'split'

I am trying to compile a game I made for my friend. I cannot seem to get Cx_Freeze to work. I'm including tons of files, but I'm 99.9% sure I created the script correctly. import cx_Freeze executables =…
0
votes
1 answer

What is Tcl and why do I need it to build applications using cx freeze and what is LSOpenURLsWithRole()?

I'm trying to build my application into an .app file and I kept hitting the following error. [Errno 2] No such file or directory: '/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl' So I downloaded ActiveTcl8.5 and the error went away. Now I'm…
terratunaz
  • 614
  • 3
  • 9
  • 19
1 2 3
99
100