WSGI configuration error
Hello,
I have a Flask application which I want to deploy in amazon ec2 ubuntu instance. The structure of the application is as follows: Code:
/ItemCatalog/vagrant/catalog/__init__.py Code:
import sys Code:
AH00094: Command line: '/usr/sbin/apache2' |
Quote:
|
Quote:
If you are not sure what that error means, a quick search for "TypeError: 'module' object is not callable" turns up many useful links, including this one. Per the Site FAQ posting guidelines, please do your own basic troubleshooting and research before asking others for help. |
Don't you need to import vagrant after adding its location to the path?
Also, __init__.py is a normally-empty file that only serves to inform Python that the directory contains a package. Carefully check the documentation for Vagrant to see what they specify. I don't think that you're importing the right thing. |
All times are GMT -5. The time now is 09:32 PM. |