I have a script that I merged into a single file by using
pyinstaller. For the case, let´s do it with a simpler example, since the error also ocurrs:
#!/bin/bash print "Hello World!"
pyinstaller --onefile helloworld.py, it creates the
dist Folder with the executable file inside (
I can run correctly this file on the terminal by typing
./helloworld, but it does not work if a make double-click, or right-click > Run.
Before you are asking, yes, in the properties of the file the Option
Allow executing file as program is checked.
Also, in Nautilus, going to Edit > Preferences > Behavior, I already selected the option
Ask each time for the Executable Text Files.
I am aware that there are many questions about the same thing, but I have tried everything and I couldn´t solve the problem still. Does anyone know what can be happening? Thanks in advance.