Can you please take a look at my flask site and see what the problem is?
Can you please take a look at my flask site and see what the problem is?
If you check out the error log (which is linked from the "Web" page) and look at the bottom of the file, you'll see an error, along with a link to a help page explaining how you can work out where the problem is.
I tried, running the wsgi file produces the same error. the python file can be run however
What's the error?
could not import app
OK. And did you go through the steps on the help page? It tells you how import works, which should make it pretty clear how to change your code so that it will import the file from where you want it to be imported.
Fixed it! It was named site. that is also the name of a python package!
Oh, that's a tricky one! Glad you worked it out :-)