aled1027
aled1027

Reputation: 1356

How do I correctly install pyinstaller? (what am I doing wrong?)

I am trying to install pyinstaller (on Ubuntu). I used pip install pyinstaller, which I think worked fine. It outputted

Downloading/unpacking pyinstaller
  Running setup.py egg_info for package pyinstaller

    setup.py is not yet supposed to work. Please Use PyInstaller without installation.

    Complete output from command python setup.py egg_info:


setup.py is not yet supposed to work. Please Use PyInstaller without installation.



----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/alex/venv/base/build/pyinstaller
Storing complete log in /home/alex/.pip/pip.log

I then ran "pip install --upgrade pyinstaller" which outputted

Downloading/unpacking pyinstaller
  Running setup.py egg_info for package pyinstaller

    setup.py is not yet supposed to work. Please Use PyInstaller without installation.

    Complete output from command python setup.py egg_info:


setup.py is not yet supposed to work. Please Use PyInstaller without installation.



----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/alex/venv/base/build/pyinstaller
Storing complete log in /home/alex/.pip/pip.log

But then when I try to verify the installation, as the manual suggests, with "pyinstaller --version", I got:

pyinstaller: command not found

The manual says that if this occurs, I should check that I have the correct execution path in my directory, /usr/bin/, which I think I do. Echo $PATH outputted

/home/my_name/venv/base/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/path/to/email_and_excel

What is going on and how should I install pyinstaller correctly?

Thanks!

Upvotes: 1

Views: 8047

Answers (1)

Steve Barnes
Steve Barnes

Reputation: 28405

As the error message says pyinstaller does not "install" - just download it, unpack and run using the path to where you put it or add it to your path.

Please RTFM it can be found here.

Upvotes: 1

Related Questions