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.11.0.tar.gz (4.2 MB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows ARM64

pyinstaller-6.11.0-py3-none-win_amd64.whl (1.3 MB view details)

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

pyinstaller-6.11.0-py3-none-musllinux_1_1_x86_64.whl (708.3 kB view details)

Uploaded Python 3 musllinux: musl 1.1+ x86-64

pyinstaller-6.11.0-py3-none-musllinux_1_1_aarch64.whl (712.3 kB view details)

Uploaded Python 3 musllinux: musl 1.1+ ARM64

pyinstaller-6.11.0-py3-none-manylinux2014_i686.whl (711.9 kB view details)

Uploaded Python 3

pyinstaller-6.11.0-py3-none-macosx_10_13_universal2.whl (844.4 kB view details)

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

File details

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

File metadata

  • Download URL: pyinstaller-6.11.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.9

File hashes

Hashes for pyinstaller-6.11.0.tar.gz
Algorithm Hash digest
SHA256 cb4d433a3db30d9d17cf5f2cf7bb4df80a788d493c1d67dd822dc5791d9864af
MD5 a0f87a85aa35c0396b75cb031bbda75e
BLAKE2b-256 b098170e3117657366560f355c154a5f4e1b9e6aee53c4f35127fe0c9aecb0e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a5f716bb507517912fda39d109dead91fc0dd2e7b2859562522b63c61aa21676
MD5 39206171b0af5b61b0200ecf2e1a08fc
BLAKE2b-256 2677203dda3d02fe5c899ffbbdb1942f0adc750dabbe25e5a1558354fc672dd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0e229610c22b96d741d905706f9496af472c1a9216a118988f393c98ecc3f51f
MD5 664d9066ee584ac902833b68a588ef13
BLAKE2b-256 f0458e609d66361cfd17ba89e07ae5ed1ca858d084e47f0fad3f9c277c96801b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyinstaller-6.11.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 c71024c8a19c7b221b9152b2baff4c3ba849cada68dcdd34382ba09f0107451f
MD5 294d17c16f962a209002c966890541ff
BLAKE2b-256 d54c4e2c10b746e5cedf806c2df3a890faf2506cb4388e94672d59374d8dc17f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 963dedc1f37144a4385f58f7f65f1c69c004a67faae522a2085b5ddb230c908b
MD5 ff6499a22ae5c7d4df9a9be4b1dc933d
BLAKE2b-256 7b8f357afd2b1b76961e43f727e7e2f8c01760b2f1497b0279ed4fdf4fe7e35e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a843d470768d68b05684ccf4860c45b2eb13727f41667c0b2cd8f57ae231bd18
MD5 6a41f2fe35bc87f5617d685780d50bfd
BLAKE2b-256 d6c805980cdaf7124b26114acd80568d3f74c515057cc1c86886025e8b09a3df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 04f71828aa9531ab18c9656985c1f09b83d10332c73a1f4a113a48b491906955
MD5 66485766f22f813d8746fc256fa55520
BLAKE2b-256 58a70e925c9e4351872e95e3cf96e58c859ecd43152aee29211d79ec9becb26e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 d9ec6d4398b4eebc1d4c00437716264ba8406bc2746f594e253070a82378a584
MD5 a2a787f03f6588e06b7409ee9abde259
BLAKE2b-256 66d430e27bca5d1ee919b3ea2c727315892ebae2dad32203771c66ca42eefac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 7d2cd2ebdcd6860f8a4abe2977264a7b6d260a7147047008971c7cfc66a656a4
MD5 cc4807fa139955cc9bde02f2b899995d
BLAKE2b-256 687a59f690b142db96f378e24c72a8a396ea2af6a41e66b06ebba9427d0b12fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e6d229009e815542833fe00332b589aa6984a06f794dc16f2ce1acab1c567590
MD5 bf1bd8ec750b72394b85f0fb29ad8412
BLAKE2b-256 2eca7276e3a19a9ab378eecafbcbead9183b344267c380e3a9c18b3040fd331d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eddd53f231e51adc65088eac4f40057ca803a990239828d4a9229407fb866239
MD5 c061bb65f9e8f8c887aec9ec6bc508a1
BLAKE2b-256 8813f15bc608d6c2cfcfb6f4628cd885e0f82da121210a375279a2bfac3c4c08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.11.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 6fd68a3c1207635c49326c54881b89d5c3bd9ba061bbc9daa58c0902db1be39e
MD5 46d755491d62fdcacd1e73126577bb8f
BLAKE2b-256 4ac517e1d226035d4fbc154908c12d96ab7ee385f8d788c96085adc912dbed5b

See more details on using hashes here.

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