Skip to main content
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.15.

  • 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 third-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.15. 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.16.

  • Windows (32-bit/64-bit/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.

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.22.3.tar.gz (4.4 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.22.3-py3-none-win_arm64.whl (1.4 MB view details)

Uploaded Python 3Windows ARM64

pyinstaller-6.22.3-py3-none-win_amd64.whl (1.5 MB view details)

Uploaded Python 3Windows x86-64

pyinstaller-6.22.3-py3-none-win32.whl (1.4 MB view details)

Uploaded Python 3Windows x86

pyinstaller-6.22.3-py3-none-musllinux_1_1_x86_64.whl (763.9 kB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

pyinstaller-6.22.3-py3-none-musllinux_1_1_aarch64.whl (764.5 kB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

pyinstaller-6.22.3-py3-none-manylinux2014_x86_64.whl (765.0 kB view details)

Uploaded Python 3

pyinstaller-6.22.3-py3-none-manylinux2014_s390x.whl (765.0 kB view details)

Uploaded Python 3

pyinstaller-6.22.3-py3-none-manylinux2014_ppc64le.whl (770.5 kB view details)

Uploaded Python 3

pyinstaller-6.22.3-py3-none-manylinux2014_i686.whl (772.1 kB view details)

Uploaded Python 3

pyinstaller-6.22.3-py3-none-manylinux2014_aarch64.whl (758.2 kB view details)

Uploaded Python 3

pyinstaller-6.22.3-py3-none-macosx_10_13_universal2.whl (1.1 MB view details)

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

File details

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

File metadata

  • Download URL: pyinstaller-6.22.3.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for pyinstaller-6.22.3.tar.gz
Algorithm Hash digest
SHA256 05eb2f5615503e72939a7224d68b4aff572c6b0438ee4a17d0a4b481f399362d
MD5 41a8d3bfc77ec27f2d843dabbc8fbfd6
BLAKE2b-256 6341f90302845945abd4ed647933ff5ee7c6ac93983187be67f897b6cb613331

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyinstaller-6.22.3-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for pyinstaller-6.22.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 31df3cc4261e804a53d358b7897c293ec8b88b167a7cca06c78018085c855f97
MD5 beb8751b64ca8ca1c3c1af86fc5c8646
BLAKE2b-256 672eebc93968bf63f81b122e205da116b16036b653b7ce2cc8ad86e3ddd19586

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyinstaller-6.22.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 500bd58c7bf7e584a8435adccbd763a0b918d5c12b08d74ff50fd79b2915458b
MD5 d49195e3d7cb9477d09f81ec5ee1bbd4
BLAKE2b-256 2483c5422204772a27aef643280fdc887b7ef55679989096b21dceb1b9625fc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyinstaller-6.22.3-py3-none-win32.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for pyinstaller-6.22.3-py3-none-win32.whl
Algorithm Hash digest
SHA256 46a3e30a118341a1ec20667a5a95aa7e0aa8c4fa129893c0151b3eb3f801a722
MD5 618cd776711ee0771626836adcef743c
BLAKE2b-256 c587cf28cfd42ceca889171e6dd5e7f1553d4372db83d047049ffb7cf95fcbd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a2b6fc26601e8c2596c3d54981566934a3382e85d05d0fe91b55b6a8dcc6b282
MD5 95de5948b83a061462ca54f960d9bfb7
BLAKE2b-256 72d6f22c55d1768433b65c460b19a3136dd9769b6c74b786149b829344654c7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ea240b5dfa831ff673c97505eee0ec24670bccf71396c83109440348944c83d0
MD5 f89e520a1dd4b6d0cf46e6ed6d76bb11
BLAKE2b-256 6cfdd9590942972b1fc205519f7ccffb0d5cd8eb1d6fa61edad319c71d25baed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 451a4ae14b719365bf1a2f0a99dae7b3463060061c3a394c70d5264cfb439528
MD5 7c5e50673550b6fc8ea7be9622844511
BLAKE2b-256 7bb6dd21d61fc5e25377be24eabf13e99e4e46548a5abe2bf7b15d8b3d9cc74a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 f82d0fb89f21c3ed6f482ee16f341bc59e8a31dbabb9bae9ef04e53ade4dc0d9
MD5 47298b3ba162b585753f01024896501c
BLAKE2b-256 cb83f173f8757c618d83e116fa2b8e57c5cd796e5ad09792e664eabd6ac5edae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 9e4f7bd64b2103f14b4a6240fb9155e9fe7bc61391b4043bbddb7d3ebc8ab0fa
MD5 bd672d90a7d9260bb7e08d81cfd27991
BLAKE2b-256 c1434b1d5193a88628c052db89f064433681076959a9f41d0d9f660001b49079

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-manylinux2014_i686.whl
Algorithm Hash digest
SHA256 020d4fe0627f5c73dfbcfad1a6578ef354d5fe4bdccd9d8e5a615528f5a45d2b
MD5 f1e508e47afa048fab94f802f1b18abc
BLAKE2b-256 699f9ccb12cc1e6617042cb028fe79f0a756f5f03305bd14b584a4e043fe3844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 312da84b4b31ab9750066a823734c11b7c68757fdd67c9f038bf19c330a954e4
MD5 09d8b9267d4e51ccd47c4c6bfc16c0c5
BLAKE2b-256 c49699f5184985141c2b024bfa61335e9142ae444555224f303186e59b7bb438

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyinstaller-6.22.3-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 052f4a1cd4f81092ccb7a18fe8ebc9ecf832a5917317e39fb3775af4e959b253
MD5 dacbf4406b6652fe8fd9bff4bbf2f1eb
BLAKE2b-256 ecaf898f70947e27f8e65d55183c780e77112e023c0b4a6fba6255d4d563a27d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

6.22.3 This release

12 files

6.22.2

12 files

6.22.1

12 files

6.22.0

12 files

6.21.0

12 files

6.20.0

12 files

6.19.0

12 files

6.18.0

12 files

6.17.0

12 files

6.16.0

12 files

6.15.0

12 files

6.14.2

12 files

6.14.1

12 files

6.14.0

12 files

6.13.0

12 files

6.12.0

12 files

6.11.1

12 files

6.11.0

12 files

6.10.0

12 files

6.9.0

12 files

6.8.0

12 files

6.7.0

12 files

6.6.0

12 files

6.5.0

12 files

6.4.0

12 files

6.3.0

12 files

6.2.0

12 files

6.1.0

12 files

6.0.0

12 files

5.13.2

12 files

5.13.1

12 files

5.13.0

12 files

5.12.0

12 files

5.11.0

12 files

5.10.1

12 files

5.10.0

12 files

5.9.0

12 files

5.8.0

12 files

5.7.0

12 files

5.6.2

11 files

5.6.1

11 files

5.6

11 files

5.5

11 files

5.4.1

11 files

5.4

11 files

5.3

11 files

5.2

11 files

5.1

11 files

5.0.1

11 files

5.0

11 files

4.10

11 files

4.9

11 files

4.8

11 files

4.7

9 files

4.6

9 files

4.5.1

7 files

4.5

6 files

4.4

7 files

4.3

1 file

4.2

1 file

4.1

1 file

4.0

1 file

3.6

1 file

3.5

1 file

3.4

1 file

3.3.1

1 file

3.3

1 file

3.2.1

1 file

3.2

2 files

3.1.1

2 files

3.1

1 file

3.0

1 file

2.1

2 files

2.0

2 files

1.5.1

1.5

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page