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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows ARM64

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 Windows x86

pyinstaller-6.13.0-py3-none-musllinux_1_1_x86_64.whl (719.9 kB view details)

Uploaded Python 3 musllinux: musl 1.1+ x86-64

pyinstaller-6.13.0-py3-none-musllinux_1_1_aarch64.whl (723.4 kB view details)

Uploaded Python 3 musllinux: musl 1.1+ ARM64

pyinstaller-6.13.0-py3-none-manylinux2014_i686.whl (728.5 kB view details)

Uploaded Python 3

pyinstaller-6.13.0-py3-none-macosx_10_13_universal2.whl (1.0 MB view details)

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

File details

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

File metadata

  • Download URL: pyinstaller-6.13.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.13.0.tar.gz
Algorithm Hash digest
SHA256 38911feec2c5e215e5159a7e66fdb12400168bd116143b54a8a7a37f08733456
MD5 a5e36786ae9456c8169b7f6609cf833a
BLAKE2b-256 a8b12949fe6d3874e961898ca5cfc1bf2cf13bdeea488b302e74a745bc28c8ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d9f21d56ca2443aa6a1e255e7ad285c76453893a454105abe1b4d45e92bb9a20
MD5 960b23dc9810f7d322f4bc3b71416d65
BLAKE2b-256 83ef74379298d46e7caa6aa7ceccc865106d3d4b15ac487ffdda2a35bfb6fe79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8d4296236b85aae570379488c2da833b28828b17c57c2cc21fccd7e3811fe372
MD5 a2be76097f046fe2b648ffcbcdcc9f7f
BLAKE2b-256 1a0615cbe0e25d1e73d5b981fa41ff0bb02b15e924e30b8c61256f4a28c4c837

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyinstaller-6.13.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.13.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 80c568848529635aa7ca46d8d525f68486d53e03f68b7bb5eba2c88d742e302c
MD5 efcd141ec08a9f56fe360fb217eea1e1
BLAKE2b-256 d5e6cccadb02b90198c7ed4ffb8bc34d420efb72b996f47cbd4738067a602d65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b7260832f7501ba1d2ce1834d4cddc0f2b94315282bc89c59333433715015447
MD5 9504e2c82bd19dc23dfb541488e33187
BLAKE2b-256 52c78a9d81569dda2352068ecc6ee779d5feff6729569dd1b4ffd1236ecd38fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 589937548d34978c568cfdc39f31cf386f45202bc27fdb8facb989c79dfb4c02
MD5 0e347f946461f3e73bd87959f2ef65b2
BLAKE2b-256 1f9cd8d0a7120103471be8dbe1c5419542aa794b9b9ec2ef628b542f9e6f9ef0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc09795f5954135dd4486c1535650958c8218acb954f43860e4b05fb515a21c0
MD5 536fd46be484bf646a52ee028ecb35a2
BLAKE2b-256 845b08e0b305ba71e6d7cb247e27d714da7536895b0283132d74d249bf662366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 92fe7337c5aa08d42b38d7a79614492cb571489f2cb0a8f91dc9ef9ccbe01ed3
MD5 3e03b203c5250869648f3ad7981338a5
BLAKE2b-256 20d553b19285f8817ab6c4b07c570208d62606bab0e5a049d50c93710a1d9dc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 db0e7945ebe276f604eb7c36e536479556ab32853412095e19172a5ec8fca1c5
MD5 30535d45cb6d48eeadfe9458cde8ce9e
BLAKE2b-256 e120e6ca87bbed6c0163533195707f820f05e10b8da1223fc6972cfe3c3c50c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9f82f113c463f012faa0e323d952ca30a6f922685d9636e754bd3a256c7ed200
MD5 583c1de84aff51c8cf5673f5570652e0
BLAKE2b-256 052cd21d31f780a489609e7bf6385c0f7635238dc98b37cba8645b53322b7450

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 92efcf2f09e78f07b568c5cb7ed48c9940f5dad627af4b49bede6320fab2a06e
MD5 b74ab7764ab3990a9f242a1277d56fc7
BLAKE2b-256 6b806da39f7aeac65c9ca5afad0fac37887d75fdfd480178a7077c9d30b0704c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.13.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 aa404f0b02cd57948098055e76ee190b8e65ccf7a2a3f048e5000f668317069f
MD5 7ee25d69f00eca698fd3ae5511ecafb1
BLAKE2b-256 b402d1a347d35b1b627da1e148159e617576555619ac3bb8bbd5fed661fc7bb5

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page