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.

Metadata

Release files for pyinstaller 6.22.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinstaller 6.22.2
File Size Uploaded
pyinstaller-6.22.2.tar.gz 4.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyinstaller 6.22.2
File
pyinstaller-6.22.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
pyinstaller-6.22.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pyinstaller-6.22.2-py3-none-win32.whl Python 3 none Windows x86-32 Details
pyinstaller-6.22.2-py3-none-musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64 Details
pyinstaller-6.22.2-py3-none-musllinux_1_1_aarch64.whl Python 3 none Linux musl 1.1+ ARM64 Details
pyinstaller-6.22.2-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
pyinstaller-6.22.2-py3-none-manylinux2014_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details
pyinstaller-6.22.2-py3-none-manylinux2014_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
pyinstaller-6.22.2-py3-none-manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details
pyinstaller-6.22.2-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
pyinstaller-6.22.2-py3-none-macosx_10_13_universal2.whl Python 3 none macOS 10.13+ universal2 (ARM64, x86-64) Details

Total release size: 14.6 MB

Release files / pyinstaller-6.22.2.tar.gz

Download URL pyinstaller-6.22.2.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
89b65a3ad07d9dd5832253e37bc45f31872d10d7f9d5c9fd0fdd6088a83829dd
BLAKE2b-256 checksum
How to use checksums
cc2b836d9def811c02522e0921d8b8cdf0c16b0545a216e97e71041758057859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-win_arm64.whl

Download URL pyinstaller-6.22.2-py3-none-win_arm64.whl
Size 1.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
afb6f9a95d19b6dcd3a7decc40d9adb6ba9c4f8802ddd6c972dfb552953f384e
BLAKE2b-256 checksum
How to use checksums
fb1b9a3062cc34c939f694d4262c4754681f6ffe853c21c124209ad2d08b8e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-win_amd64.whl

Download URL pyinstaller-6.22.2-py3-none-win_amd64.whl
Size 1.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9b990fa6bbe143572f06644a984ad0d7aa2e2ccc6929d4916031343a5888e9a7
BLAKE2b-256 checksum
How to use checksums
3f538ba1d0f6159b490f700eac6161a4be5f0d4672608a6dae9fd73679f183ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-win32.whl

Download URL pyinstaller-6.22.2-py3-none-win32.whl
Size 1.3 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
9a078877caa3920558a3242d0a7019fe5b825cff4b65ed380c7d1e1bd200ddd9
BLAKE2b-256 checksum
How to use checksums
ba2cf91b63fd01422111ac04e3b9bf61c039da5a3292acb4fe5248905f0be688
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-musllinux_1_1_x86_64.whl

Download URL pyinstaller-6.22.2-py3-none-musllinux_1_1_x86_64.whl
Size 761.1 kB
Tags Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8c2c4b14caad38c1f3df8e9bf5276fc265e27fe8b4180cab4a37864288427bc0
BLAKE2b-256 checksum
How to use checksums
d34e28b6094dcbd1e1bbb868daf4f8752999a20c1020ab64569232be42af2be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-musllinux_1_1_aarch64.whl

Download URL pyinstaller-6.22.2-py3-none-musllinux_1_1_aarch64.whl
Size 761.7 kB
Tags Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0260eaad6be3f6fbc1affffe6dc7b8e5b636dbca51b463224daba971610b6fc1
BLAKE2b-256 checksum
How to use checksums
6c9b0af69d93dfad2e3d590a5de5828d5bcd903747c0224bd9560ab476904dfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-manylinux2014_x86_64.whl

Download URL pyinstaller-6.22.2-py3-none-manylinux2014_x86_64.whl
Size 762.2 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9622686ecc5d5fa492fe6cde29d47df9dd41138cff8177be9f901ca3260f2096
BLAKE2b-256 checksum
How to use checksums
2b07b304ff3f5f8333778065e3658b604b0e108cd934b920f3fbab825a0dd5b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-manylinux2014_s390x.whl

Download URL pyinstaller-6.22.2-py3-none-manylinux2014_s390x.whl
Size 762.1 kB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
7bee432404eca5dc3ef37c36811c266561b03988f6d3e70ab0fa5352dd5de9e4
BLAKE2b-256 checksum
How to use checksums
5edbf24a21af2f87ce1df4e07fdad95eec65ef9f284267a7c1e5eeea40f49aa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-manylinux2014_ppc64le.whl

Download URL pyinstaller-6.22.2-py3-none-manylinux2014_ppc64le.whl
Size 767.4 kB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
06d7b3827a8049db4a2d47e3ec4ae2f69a1041577d8833b8f169745cde573ab4
BLAKE2b-256 checksum
How to use checksums
cfe2dbfea6a58b68acf644f7193b11d570476d6ffaed57381b6d1dd9e898a971
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-manylinux2014_i686.whl

Download URL pyinstaller-6.22.2-py3-none-manylinux2014_i686.whl
Size 768.9 kB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
becb47ad78272bede87acf2ed830d7545a8f65ab11d06a68fe2b99ba1afaac6d
BLAKE2b-256 checksum
How to use checksums
912b6c11e4d5a76e716ea68da1946ab706a4bdf6d8e68b0e1dea314366d046a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-manylinux2014_aarch64.whl

Download URL pyinstaller-6.22.2-py3-none-manylinux2014_aarch64.whl
Size 755.7 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f5ccb847451df4207bce18bf53a57b124c9bb4e7e4bad08c5ecc627bcf00b28c
BLAKE2b-256 checksum
How to use checksums
74222d865896782cbb41e2388c7314207c17a98acdcc1b8e5eef668873505c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / pyinstaller-6.22.2-py3-none-macosx_10_13_universal2.whl

Download URL pyinstaller-6.22.2-py3-none-macosx_10_13_universal2.whl
Size 1.1 MB
Tags Python 3 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ebd1b1ca932d7cf25d7366ce691aaf79a5ff9425811ed7328b5116e4471b6d6d
BLAKE2b-256 checksum
How to use checksums
573908cd53632276de70426e7c273820277a48253fee397b4048301ec03c3566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

6.22.2 This release

12 release files

6.7.0

12 release files

6.6.0

12 release files

6.4.0

12 release files

6.3.0

12 release files

6.2.0

12 release files

6.1.0

12 release files

6.0.0

12 release files

5.9.0

12 release files

5.8.0

12 release files

5.6.2

11 release files

5.6.1

11 release files

5.6

11 release files

5.5

11 release files

5.4.1

11 release files

5.4

11 release files

5.3

11 release files

5.2

11 release files

5.1

11 release files

5.0.1

11 release files

5.0

11 release files

4.10

11 release files

4.9

11 release files

4.8

11 release files

4.7

9 release files

4.6

9 release files

4.5.1

7 release files

4.5

6 release files

4.4

7 release files

4.3

1 release file

4.2

1 release file

4.1

1 release file

4.0

1 release file

3.6

1 release file

3.5

1 release file

3.4

1 release file

3.3.1

1 release file

3.3

1 release file

3.2.1

1 release file

3.2

2 release files

3.1.1

2 release files

3.1

1 release file

3.0

1 release file

2.1

2 release files

2.0

2 release 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