Hi all, I'm trying to get pyramid set up on python anywhere and am having trouble. If anyone can point me toward a tutorial that walks you through getting pyramid set up on Python anywhere I would be eternally grateful (I've searched bu haven't found anything complete, hoping I might have missed something).
Right now my issue is with the wsgi file. I am getting this error: cannot import name application
My code for the pyramid wsgi.py file is:
import os
import sys
path = '/path/to/env/where/my/wsgi/file/is'
if path not in sys.path:
sys.path.append(path)
from my.wsgi import application
In my wsgi file I have the following code:
from pyramid.paster import get_app
application = get_app('/path/to/my/production.ini', 'main')
Any help would be appreciated - I have been wrestling with this for awhile!
[edited by admin -- tidied formatting for legibility]