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.12.

  • 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.12. 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.13.

  • 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.

Metadata

Release files for pyinstaller 6.3.0

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.3.0
File Size Uploaded
pyinstaller-6.3.0.tar.gz 4.1 MB Details

Built distributions (wheels)

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

Total release size: 13.5 MB

Release files / pyinstaller-6.3.0.tar.gz

Download URL pyinstaller-6.3.0.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
914d4c96cc99472e37ac552fdd82fbbe09e67bb592d0717fcffaa99ea74273df
BLAKE2b-256 checksum
How to use checksums
5cb579e53c645c3f458cde165493ed71c1cac478fce67f204ad6ecca48b47440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-win_arm64.whl
Size 1.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
1eadbd1fae84e2e6c678d8b4ed6a232ec5c8fe3a839aea5a3071c4c0282f98cc
BLAKE2b-256 checksum
How to use checksums
2475e7b5ebf8f33b7b603466f0d6c89f59b928f30d81160fbcec6ad59bac3dc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-win_amd64.whl
Size 1.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
156b32ba943e0090bcc68e40ae1cb68fd92b7f1ab6fe0bdf8faf3d3cfc4e12dd
BLAKE2b-256 checksum
How to use checksums
fc2b72fe6fa39f0353331f0e8c54e0915768ad48e0bff0433d10353ba81ffea5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-win32.whl
Size 1.2 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
0597fb04337695e5cc5250253e0655530bf14f264b7a5b7d219cc65f6889c4bd
BLAKE2b-256 checksum
How to use checksums
6e27ac169c1d07c1ebce5819e1dd3a6a4b7b5e3fe4c7f6db3d7f8ed97b9badb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-musllinux_1_1_x86_64.whl
Size 663.6 kB
Tags Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
886b3b995b674905a20ad5b720b47cc395897d7b391117831027a4c8c5d67a58
BLAKE2b-256 checksum
How to use checksums
827ad2f5893680064bce75b13e9caf5fd5c93fdfdb73fd3ce0c0d822fef79060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-musllinux_1_1_aarch64.whl
Size 666.4 kB
Tags Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
41c937fe8f07ae02009b3b5a96ac3eb0800a4f8a97af142d4100060fe2135bb9
BLAKE2b-256 checksum
How to use checksums
9374158c40b3fe80de401015fa868870bd1c2a5b1444e05b1c962bf92526ce58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-manylinux2014_x86_64.whl
Size 663.0 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
abe91106a3bbccc3f3a27af4325676ecdb6f46cb842ac663625002a870fc503b
BLAKE2b-256 checksum
How to use checksums
ca1fcdbe66b8b131b7dd3cd0e65c48e9fcf67f8335f07ca663f81e6fd7421b22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-manylinux2014_s390x.whl
Size 662.2 kB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
96c37a1ee5b2fd5bb25c098ef510661d6d17b6515d0b86d8fc93727dd2475ba3
BLAKE2b-256 checksum
How to use checksums
d5b42a02a4755ffef9aaeb6712a75c188a8a173beb412f0ed1935f90489e2ac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-manylinux2014_ppc64le.whl
Size 670.9 kB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
b721d793a33b6d9946c7dd95d3ea7589c0424b51cf1b9fe580f03c544f1336b2
BLAKE2b-256 checksum
How to use checksums
a8a973bfbb2b4db1ff5ccb7446f7bf8464ea41b8a25c43bd41389a23b08a5cde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-manylinux2014_i686.whl
Size 666.5 kB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
e436fcc0ea87c3f132baac916d508c24c84a8f6d8a06c3154fbc753f169b76c7
BLAKE2b-256 checksum
How to use checksums
35294ddd97e6c5bc1b1af45aee741f56d1d7d17a0920c872078d90b402acc001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-manylinux2014_aarch64.whl
Size 664.3 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
de25beb176f73a944758553caacec46cc665bf3910ad8a174706d79cf6e95340
BLAKE2b-256 checksum
How to use checksums
93e8a9d72cb783529e17a5968d3b6c862e5ce78719671efd6dc6bb0dca1e32a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

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

Download URL pyinstaller-6.3.0-py3-none-macosx_10_13_universal2.whl
Size 940.0 kB
Tags Python 3 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
75a6f2a6f835a2e6e0899d10e60c10caf5defd25aced38b1dd48fbbabc89de07
BLAKE2b-256 checksum
How to use checksums
7f6c49ca237d78cac9d0b3c041e0fbc58444dea8db7e2a2a5c584ae006f21fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release history Release notifications | RSS feed

6.7.0

12 release files

6.6.0

12 release files

6.4.0

12 release files

This release

6.3.0 This release

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