Skip to main content

Create standalone executables from Python scripts

Project description

Version Downloads Python Code
PyPI version PyPi Downloads Python CodeQL Code style: black
Conda Version Conda Downloads

cx_Freeze creates standalone executables from Python scripts, with the same performance, is cross-platform and should work on any platform that Python itself works on.


In a virtual environment, install by issuing the command:

pip install --upgrade cx_Freeze

To install the latest development build:

pip install --upgrade --pre --extra-index-url cx_Freeze

Please check the installation for more information and how to install in others environment such as pipenv, conda-forge, etc.


Documentation Status

The official documentation is available here.

If you need help you can also ask on the discussion channel.

Highlights of Version 6.15:

  • Breaking change: remove camelCase in Executable api
  • New hooks: lazy_loader, librosa, jpype, pyimagej, pyreadstat
  • Improved hooks: matplotlib, pytorch, PyQt6, PySide6, TkInter
  • Bug fixes and improvements

Highlights of Version 6.14:

  • Support Python 3.11
  • Binary wheels (x86_64 and aarch64) for musllinux
  • Maintain Windows base executables on git (install from sources without C compiler)
  • Improved documentation
  • New hooks: charset_normalizer, shapely, sklearn, pytorch
  • Improved hooks: scipy, sqlite3
  • Bug fixes and improvements

Highlights of Version 6.2 up to 6.13:

  • Binary wheels (x86_64 and aarch64) for manylinux and macOS (including Apple Silicon)
  • New or improved hooks, especially matplotlib, numpy, PyQt5, PyQt6, PySide2, PySide6 and Tkinter
  • Support Application Manifests in Windows: manifest and uac-admin
  • Complete integration to setuptools instead of distutils
  • New dependency resolver on Windows
  • Support for pathlib.Path
  • New ModuleFinder engine uses importlib.machinery
  • Refactored Freezer
  • New support for package metadata improving Module and new DitributionCache
  • Enhanced support for Python 3.8 to 3.10, including MSYS2 and conda-forge distributions
  • Improvements for multiprocessing
  • Optimizations in detection and distribution of libraries
  • Code modernization
  • Various bug fixes.



cx_Freeze uses a license derived from the Python Software Foundation License. You can read the cx_Freeze license in the documentation or in the source repository.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cx_Freeze-6.15.8.tar.gz (1.7 MB view hashes)

Uploaded source

Built Distributions

cx_Freeze-6.15.8-cp311-cp311-win_amd64.whl (425.5 kB view hashes)

Uploaded cp311

cx_Freeze-6.15.8-cp311-cp311-win32.whl (422.8 kB view hashes)

Uploaded cp311

cx_Freeze-6.15.8-cp310-cp310-win_amd64.whl (345.4 kB view hashes)

Uploaded cp310

cx_Freeze-6.15.8-cp310-cp310-win32.whl (342.7 kB view hashes)

Uploaded cp310

cx_Freeze-6.15.8-cp39-cp39-win_amd64.whl (343.6 kB view hashes)

Uploaded cp39

cx_Freeze-6.15.8-cp39-cp39-win32.whl (340.9 kB view hashes)

Uploaded cp39

cx_Freeze-6.15.8-cp38-cp38-win_amd64.whl (344.2 kB view hashes)

Uploaded cp38

cx_Freeze-6.15.8-cp38-cp38-win32.whl (341.4 kB view hashes)

Uploaded cp38

cx_Freeze-6.15.8-cp37-cp37m-win_amd64.whl (343.3 kB view hashes)

Uploaded cp37

cx_Freeze-6.15.8-cp37-cp37m-win32.whl (340.6 kB view hashes)

Uploaded cp37

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page