mounirboulwafa
mounirboulwafa

Reputation: 1826

pip install pyinstaller no module named pyinstaller

I wanted to install pyinstaller module with the following command:

pip install pyinstaller

But I always get the following error:

enter image description here

Upvotes: 4

Views: 3625

Answers (2)

Lasse Lindqvist
Lasse Lindqvist

Reputation: 41

There seems to be a problem when using pip-19.0.1 because as the other answer suggests, using 18.1 works fine.

But also now pip-19.0.3 has been released and upgrading to that seems to fix the issue.

So I suggest you try to update pip and then install pyinstaller

python -m pip install --upgrade pip
pip install pyinstaller

Upvotes: 1

mounirboulwafa
mounirboulwafa

Reputation: 1826

I tried everything, but finally i found the solution.

You just have to downgrade your pip from version 19 to 18.1 :

pip install pip==18.1

Then install PyInstaller :

pip install pyinstaller

.

As you see i managed to install it :

enter image description here .

After that you can upgrade again your pip :

python -m pip install --upgrade pip

Upvotes: 4

Related Questions