Closed igormaraujo closed 3 years ago
Judging by the error report, it cannot find Python.Runtime.dll (as required by pythonnet). Try copying this file to your frozen folder and see if it makes a difference. The dll is located in the package directory. Normally the pythonnet hook should take care of this, but it may be that Pyinstaller 4.0 broke something.
There is the Python.Runtime.dll at my frozen folder. If I use the the Python.Runtime.dll from The GitHub Action workflow hosted visual environment, it don't work. However, if I use the dll in the package directory from my own machine, it is work. I am think that there is some compatibility problem with the dll compiled at GitHub Actions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The error message says
If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch.```
Have you tried to enable the loadFromRemoteSources switch?
The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
Specification
Description
I create a workflow to freeze the hello world pywebview aplication using pyinstaller at github actions. The executable don't work at my machine. I try the same executable at five machines (include my own) and the app run only at two. Also, the app runs at my machine if I freeze it at my own machine.
main.py
python-app.yml
Runtime error message