Search code examples
python-3.xubuntupyinstaller

Packaging with pyinstaller


Good afternoon good people

On my Ubuntu 20.04 I created a .py file and tried to package using pyinstaller.

a = "It worked"
print (a)

He created it but when I went to the distance and ran the operating system he returned the following message:

There is no application installed for" shared library "files. Do you want to search for an application to open this file?

I believe that my operating system must be missing some lib.

What can I do?


Solution

  • try running it in terminal

    chmod +x filename
    ./filename
    

    or if it's an executable:

    /path/to/file