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.2.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.2.0
File Size Uploaded
pyinstaller-6.2.0.tar.gz 4.1 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyinstaller 6.2.0
File
pyinstaller-6.2.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
pyinstaller-6.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pyinstaller-6.2.0-py3-none-win32.whl Python 3 none Windows x86-32 Details
pyinstaller-6.2.0-py3-none-musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64 Details
pyinstaller-6.2.0-py3-none-musllinux_1_1_aarch64.whl Python 3 none Linux musl 1.1+ ARM64 Details
pyinstaller-6.2.0-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
pyinstaller-6.2.0-py3-none-manylinux2014_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details
pyinstaller-6.2.0-py3-none-manylinux2014_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
pyinstaller-6.2.0-py3-none-manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details
pyinstaller-6.2.0-py3-none-manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
pyinstaller-6.2.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.2.0.tar.gz

Download URL pyinstaller-6.2.0.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
1ce77043929bf525be38289d78feecde0fcf15506215eda6500176a8715c5047
BLAKE2b-256 checksum
How to use checksums
ddc87bbbb6bb4130f96f7bc32064c13f115546fce07a3aacae75c3b4142256bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL pyinstaller-6.2.0-py3-none-win_arm64.whl
Size 1.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
d0c87b605bf13c3a04dfaa1d2fa7cd36765b8137000eeadccba865e1d6a19bf0
BLAKE2b-256 checksum
How to use checksums
515de17511b28033d571f0e23c8d6d95c9c005c9f59bedfc8fe7e928ae9d0686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

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

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

Download URL pyinstaller-6.2.0-py3-none-win32.whl
Size 1.2 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
e5561e9a9b946d835c8dbc11ae4c16cc21e62bc77d10cc043406dc2992dfb4c6
BLAKE2b-256 checksum
How to use checksums
76bdb9f984677f66d09d38f81fd936dd8840c0aad08afa2d5d65714679a609eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL pyinstaller-6.2.0-py3-none-musllinux_1_1_x86_64.whl
Size 664.0 kB
Tags Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8ec9d6c98972bb922cedb16a6638257aa66e5deadd79e2953f3464696237c413
BLAKE2b-256 checksum
How to use checksums
597516b8272343a3b4fd6cdaefe8cf7d3b56b0c573741ac13313b4df598ccc18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL pyinstaller-6.2.0-py3-none-musllinux_1_1_aarch64.whl
Size 666.6 kB
Tags Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e87fd60292b53bb9965cb5a84122875469a2bd475fd0d0db0052a3f1be351f75
BLAKE2b-256 checksum
How to use checksums
267a7b2319f083dfe89f8aed9f7f55186c5a7964fc354c93249f30102ed8ffeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL pyinstaller-6.2.0-py3-none-manylinux2014_x86_64.whl
Size 663.2 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
104430686149b2f1c135b2c17aa2967c85d54ef77dc92feb4e179ec846c0c467
BLAKE2b-256 checksum
How to use checksums
3843b115ed1c7b620a19f7c1e13cb903d8609a55ecbb2df62b77e59fc42522b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

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

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

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

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

Download URL pyinstaller-6.2.0-py3-none-manylinux2014_i686.whl
Size 666.8 kB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
ba602a38d7403de89c38b8956b221ce6de0280730d269bab522492fcad82ee33
BLAKE2b-256 checksum
How to use checksums
9128ddf9d5a3f98646ee14a9c96d94b8329f95c7700611b0bdf5f570d1c6066f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL pyinstaller-6.2.0-py3-none-manylinux2014_aarch64.whl
Size 664.6 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
29d164394f1e949072f78a64c1e040f1c47b7f4aff08514c7666a031c8b44996
BLAKE2b-256 checksum
How to use checksums
c9c9acb56ce6d8609c5191c4c59573b73be8d12528ca7a0ea3f64436635e01fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

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

Download URL pyinstaller-6.2.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
a1adbd3cf25dc90926d783eae0f444d65cdfecc7bcdf6da522c3ae3ff47b4c25
BLAKE2b-256 checksum
How to use checksums
6b3dac556c1208c701c4f6ccde77db0b2eeb84bf052d63260c2305fb5ace707c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

6.7.0

12 release files

6.6.0

12 release files

6.4.0

12 release files

6.3.0

12 release files

This release

6.2.0 This release

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