Mr.Gonzalez1990
Mr.Gonzalez1990

Reputation: 1

How do I get Pyinstaller on a Chromebook?

I am running Linux. I want to turn a file into an exe, but I do need the pyinstaller to do that. I already installed pip as well. Is another ways to do it?

I tried 'pip install', sudo apt-get pyinstaller' 'python install pyinstaller'.

After I do pip install.

after I do pip install

Upvotes: -1

Views: 205

Answers (2)

Norio Yamamoto
Norio Yamamoto

Reputation: 1786

I succeeded in doing this by following the steps below.

  1. Install PIP.

sudo apt install python3-pip -y

  1. Update PIP.

python3 -m pip install -U pip --break-system-packages

  1. Install pyinstaller.

python3 -m pip install pyinstaller --break-system-packages

  1. Create an executable from hoge.py using pyinstaller.

$HOME/.local/bin/pyinstaller hoge.py

  1. The executable is created

$HOME/dist/hoge/hoge

Upvotes: 0

Arpan Tyagi
Arpan Tyagi

Reputation: 1

To upgrade existing PyInstaller installation to the latest version, use: $pip install --upgrade pyinstaller

To install the current development version, use: $pip install https://github.com/pyinstaller/pyinstaller/tarball/develop

To install directly using pip’s built-in git checkout support, use: $pip install git+https://github.com/pyinstaller/pyinstaller

or to install specific branch (e.g., develop): $pip install git+https://github.com/pyinstaller/pyinstaller@develop

Upvotes: 0

Related Questions