Skip to main content

PyInstaller bundles a Python application and all its dependencies into a single package.

Project description

PyPI PyPI - Python Version Read the Docs (version) PyPI - Downloads

PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules.

Documentation:

https://pyinstaller.org/

Code:

https://github.com/pyinstaller/pyinstaller

PyInstaller reads a Python script written by you. It analyzes your code to discover every other module and library your script needs in order to execute. Then it collects copies of all those files – including the active Python interpreter! – and puts them with your script in a single folder, or optionally in a single executable file.

PyInstaller is tested against Windows, macOS, and GNU/Linux. However, it is not a cross-compiler: to make a Windows app you run PyInstaller in Windows; to make a GNU/Linux app you run it in GNU/Linux, etc. PyInstaller has been used successfully with AIX, Solaris, FreeBSD and OpenBSD, but is not tested against them as part of the continuous integration tests.

Main Advantages

  • Works out-of-the-box with any Python version 3.8-3.13.

  • Fully multi-platform, and uses the OS support to load the dynamic libraries, thus ensuring full compatibility.

  • Correctly bundles the major Python packages such as numpy, PyQt5, PySide2, PyQt6, PySide6, wxPython, matplotlib and others out-of-the-box.

  • Compatible with many 3rd-party packages out-of-the-box. (All the required tricks to make external packages work are already integrated.)

  • Works with code signing on macOS.

  • Bundles MS Visual C++ DLLs on Windows.

Installation

PyInstaller is available on PyPI. You can install it through pip:

pip install pyinstaller

Requirements and Tested Platforms

  • Python:
    • 3.8-3.13. Note that Python 3.10.0 contains a bug making it unsupportable by PyInstaller. PyInstaller will also not work with beta releases of Python 3.14.

  • Windows (32bit/64bit/ARM64):
    • PyInstaller should work on Windows 7 or newer, but we only officially support Windows 8+.

    • Support for Python installed from the Windows store without using virtual environments requires PyInstaller 4.4 or later.

  • Linux:
    • GNU libc based distributions on architectures x86_64, aarch64, i686, ppc64le, s390x.

    • musl libc based distributions on architectures x86_64, aarch64.

    • ldd: Console application to print the shared libraries required by each program or shared library. This typically can be found in the distribution-package glibc or libc-bin.

    • objdump: Console application to display information from object files. This typically can be found in the distribution-package binutils.

    • objcopy: Console application to copy and translate object files. This typically can be found in the distribution-package binutils, too.

    • Raspberry Pi users on armv5-armv7 should add piwheels as an extra index url then pip install pyinstaller as usual.

  • macOS (x86_64 or arm64):
    • macOS 10.15 (Catalina) or newer.

    • Supports building universal2 applications provided that your installation of Python and all your dependencies are also compiled universal2.

Usage

Basic usage is very simple, just run it against your main script:

pyinstaller /path/to/yourscript.py

For more details, see the manual.

Untested Platforms

The following platforms have been contributed and any feedback or enhancements on these are welcome.

  • FreeBSD
    • ldd

  • Solaris
    • ldd

    • objdump

  • AIX
    • AIX 6.1 or newer. PyInstaller will not work with statically linked Python libraries.

    • ldd

  • Linux on any other libc implementation/architecture combination not listed above.

Before using any contributed platform, you need to build the PyInstaller bootloader. This will happen automatically when you pip install pyinstaller provided that you have an appropriate C compiler (typically either gcc or clang) and zlib’s development headers already installed.

Support

Changes in this Release

You can find a detailed list of changes in this release in the Changelog section of the manual.

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

pyinstaller-6.14.0.tar.gz (4.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyinstaller-6.14.0-py3-none-win_arm64.whl (1.3 MB view details)

Uploaded Python 3Windows ARM64

pyinstaller-6.14.0-py3-none-win_amd64.whl (1.4 MB view details)

Uploaded Python 3Windows x86-64

pyinstaller-6.14.0-py3-none-win32.whl (1.3 MB view details)

Uploaded Python 3Windows x86

pyinstaller-6.14.0-py3-none-musllinux_1_1_x86_64.whl (723.7 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

pyinstaller-6.14.0-py3-none-musllinux_1_1_aarch64.whl (724.0 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

pyinstaller-6.14.0-py3-none-manylinux2014_x86_64.whl (724.8 kB view details)

Uploaded Python 3

pyinstaller-6.14.0-py3-none-manylinux2014_s390x.whl (724.6 kB view details)

Uploaded Python 3

pyinstaller-6.14.0-py3-none-manylinux2014_ppc64le.whl (727.8 kB view details)

Uploaded Python 3

pyinstaller-6.14.0-py3-none-manylinux2014_i686.whl (729.7 kB view details)

Uploaded Python 3

pyinstaller-6.14.0-py3-none-manylinux2014_aarch64.whl (719.4 kB view details)

Uploaded Python 3

pyinstaller-6.14.0-py3-none-macosx_10_13_universal2.whl (999.8 kB view details)

Uploaded Python 3macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file pyinstaller-6.14.0.tar.gz.

File metadata

  • Download URL: pyinstaller-6.14.0.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pyinstaller-6.14.0.tar.gz
Algorithm Hash digest
SHA256 cc55cdc21491722d74133e35ab363a88679b37ee2d76f9d80adcbc0ae862d630
MD5 9017f860210aa52b4439d8164099b62f
BLAKE2b-256 7edc4ec9284d14952d3a4902c29b0c86314cad8de35104b5c1d6e001b914c0f5

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 adf130c72e98ced09df5c43d7ca271d701a730036980da75cae056325cbc2dcd
MD5 f64046dde013cd6561a348782eb7d176
BLAKE2b-256 fedf83e5fbcd247f1e9b38f381db6870dcba57078f24612b02b2604799e8b3fc

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: pyinstaller-6.14.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pyinstaller-6.14.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c62c3e0f768d4f90c0329c5e2616d8fff5c041dc4864a28e74d653d0e77aff1a
MD5 f489e48a6f67c12226034bf9278d5c5d
BLAKE2b-256 b489e8b850913b998ac2999ffd75dc9b6c30ac7b341ba674f22b6fe8c962074c

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-win32.whl.

File metadata

  • Download URL: pyinstaller-6.14.0-py3-none-win32.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for pyinstaller-6.14.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 083d97ee52077bc21a8e8beaede394dfd8d19da8bafc03ebc6734949d63d74a1
MD5 a68e2c1f3dc7e3629246409f6e399542
BLAKE2b-256 a1385ad380af42229b77afd7536d8ecec0b89db37e7d83f9c80780db365d17bf

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9af257dc72d6b2027ab8a4c217eda07a6e6efa8ae9223953fd721aa9baec9106
MD5 2445c80256081be9198155ad24a7bb4e
BLAKE2b-256 52285f442033ed7f89badc93112421248c848470d5d1fbcd226fabd9d4e71475

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 3c2c88a355223d13704b5153dc341e02699523363cc18c49d872c8e82b5c6063
MD5 85e9b4b62482954aae10f8513f5bdad8
BLAKE2b-256 493d26e860641655adb2bf4aed243351abefff258551a1811ffe60b03f5bb514

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 640f68e50d22684aa5970c2f3a6490d2e7c16bd5c20c63f5541c0e50e5bd2391
MD5 1ee6ad63a3f2e99332a783a9b0068ea9
BLAKE2b-256 ff03eeb4af303f5eb0a2cb5cdc8ae1053894f53057c1e218d1252669aebcadde

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 af8c973543e976bd660f83a43089cabd3c41e98398f53fa179ef7eee4d5fe3b0
MD5 072190b5901e00a9925da042c69f447f
BLAKE2b-256 fed417a7c81cc82d33119f0b3d751d30e253a14b04087059ae9fa15c7dd8707a

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 ca5ad60e210a7eb1c968d09deb85b645963bf24dcb8ed4af93c293ea526a08e6
MD5 9c5aa5d5757448bcdc53a59755e50d96
BLAKE2b-256 49e3757efe36330f79efcdd9b288514082f786e35832458da5ef84cf24905209

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-manylinux2014_i686.whl
Algorithm Hash digest
SHA256 d75492d4a7ece299b580837cb027cf7742cea5e92dfec0bb4c6064816c009b59
MD5 95107fdc7c45a3da4e0e8c35db4b3ce9
BLAKE2b-256 66ae1415822212ca69fb29ac0b961ee6103ea90be2d8e5fe00b39db6340c8c7d

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 57982d0ebeb39e9a5dd8722bed871873ec59161613d8b09ca638adbd4fb4e592
MD5 55d75d950641fab416cd64647d01eab0
BLAKE2b-256 a9bb96a83e17c72cbe0eac385c6101b82881ba86c30f852b27824e98c99aaef1

See more details on using hashes here.

File details

Details for the file pyinstaller-6.14.0-py3-none-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pyinstaller-6.14.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 20b4dcaf17a27cf5d5417f9dc53e81adf417d22e4d8c4afe50ae20dacdc1cde6
MD5 b07ba2e9246fcac16f4b91a2f1f4d79b
BLAKE2b-256 69f67aaee3c4289ee3784b48229b2155d04936c514f66af29ced60cdf4c576b8

See more details on using hashes here.

Supported by

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