You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app which embeds gunicorn and I can run with the classic
python myapp.py
However If I try to compile the app to be distributable with pyinstaller (http://www.pyinstaller.org/) and run it with:
./dist/myapp/myapp
I get the following error:
Error: class uri 'simple' invalid or not found:
[Traceback (most recent call last):
File "/home/mattions/Dev/guniconr_app/build/myapp/out00-PYZ.pyz/gunicorn.util", line 125, in load_class
File "/home/mattions/Dev/guniconr_app/build/myapp/out00-PYZ.pyz/pkg_resources", line 343, in load_entry_point
File "/home/mattions/Dev/guniconr_app/build/myapp/out00-PYZ.pyz/pkg_resources", line 336, in get_distribution
File "/home/mattions/Dev/guniconr_app/build/myapp/out00-PYZ.pyz/pkg_resources", line 215, in get_provider
File "/home/mattions/Dev/guniconr_app/build/myapp/out00-PYZ.pyz/pkg_resources", line 696, in require
File "/home/mattions/Dev/guniconr_app/build/myapp/out00-PYZ.pyz/pkg_resources", line 594, in resolve
DistributionNotFound: gunicorn
]
I have an app which embeds gunicorn and I can run with the classic
However If I try to compile the app to be distributable with pyinstaller (http://www.pyinstaller.org/) and run it with:
I get the following error:
This is the example app that I have used: https://gist.github.com/mattions/8026970
The text was updated successfully, but these errors were encountered: