Reputation: 1
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.
Upvotes: -1
Views: 205
Reputation: 1786
I succeeded in doing this by following the steps below.
sudo apt install python3-pip -y
python3 -m pip install -U pip --break-system-packages
python3 -m pip install pyinstaller --break-system-packages
$HOME/.local/bin/pyinstaller hoge.py
$HOME/dist/hoge/hoge
Upvotes: 0
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