Hi
I have a flask app that runs perfectly. I am trying to get a mirror site for this up and running as I want to use it for a slightly different purpose with a few tweaks. I have coped the files from the first app and uploaded them to the second app and used the same virtual environment. So as far as I can see, the second app should be a mirror image of the first app. However, I am getting an import error:
Error running WSGI application
ModuleNotFoundError: No module named 'application'
File "/var/www/www_exampal_co_uk_wsgi.py", line 17, in <module>
from application import app as application
As I have said, this code works perfectly in my first app, is there something I am doing wrong for the second app given the file structure and files are exactly the same? only one app used a folder [mysite] which is the working app and other used the folder [ep]. Please bear in mind this was a home project and I do not work as a programmer! You have permission to look at my files should you need to.
Thanks