Python: Install PyInstaller

PyInstaller


Install PyInstaller on Windows

  • Use standard Python
  1. Right click at Window icon (bottom left), then select Windows PowerShell (Admin).
  2. PyInstaller can be easily installed using command
pip install pyinstaller

Install PyInstaller on Linux

  • Use standard Python

For Python 2

pip install pyinstaller

For Python 3

pip3 install pyinstaller

or use the specific python version (python3.6 -m) and install on the local space (--user)

python3.6 -m pip install --user pyinstaller


If it has error about "Module PyInstaller not found", you may try to downgrade the version of PIP, e.g., from version 19 to 18. Then reinstall again.

python3.6 -m pip install pip==18.1
python3.6 -m pip install --user pyinstaller

Install PyInstaller on Linux

  • Use Anaconda (alternative python platform)
/where/you/install/anaconda3/bin/python3.6 -m pip install -U --user pyinstaller

The day of this write I am using Python 3.6


Rangsiman Ketkaew