Skip to content
Advertisement

pyinstaller ImportError error – how to solve it?

I have installed pyinstaller in my Linux in order to create an executable to my Python script, which runs normaly with the command:

JavaScript

However when I execute bellow command:

JavaScript

I get the following error:

JavaScript

What is wrong?

I tried to install dis3:

JavaScript

But I still get the same error.

I uninstalled it …

JavaScript

Installed again as recommended.

JavaScript

I have set the PATH variable:

JavaScript

Now I get the message:

JavaScript

Indeed … it does not appear on pip list:

JavaScript

What is wrong?

Advertisement

Answer

I followed the instructions of this link:Python Issue It solved the last issue I mentioned.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement