Does anyone have experience installing a Pyramid application via Elastic
Beanstalk? My application deploys but I cannot configure the application's
application.py (or pyramid.wsgi) file to work properly. Within get_app the
following error occurs:
File
"/opt/python/run/venv/lib/python2.7/si
I don't have any beanstalk experience but this is definitely a
path/virtualenv issue. I'd add some code to output your sys.path and it
should be clear why your code is not available. It sounds like your
dependencies were installed but the package itself is not on the path.
On Sun, Jul 17, 2016 at
It might be that if you have a requirements.txt that Beanstalk only
installs that and not your package. Listing your package as an in place,
editable install with an entry like "-e ." in the requirements file will
make sure that your package is linked into the environment.
On Sun, Jul 17, 2016, 16
Hey Andrew,
I've deployed a number of Pyramid applications using Elastic Beanstalk.
First, make sure that your Elastic Beanstalk configuration is pointing to
the proper WSGIPath - I believe the default is app.py, but I would double
check this value in the control panel.
Also, you will need to add