11
Your path needs to be /home/technewsandblog/blog/blog_project
.
Currently, your path of /home/technewsandblog/blog/blog_project/mysite
and settings module mysite.settings
means that it is expecting a settings.py file at /home/technewsandblog/blog/blog_project/mysite/mysite/settings.py
Also check out the PythonAnywhere help page on WSGI import errors. (in particular the Django section)
0
If you’re running Flask and encountering this, it might be a Python version mismatch.
Install any package (even if it’s already installed), You’ll find the path where your packages are getting installed, Check the path to see if you’ll find the Python version there, If you do, then just delete your app from the web tab and reinstall it using that Python version.
nb: (Only the web section will be deleted, your code will remain intact.)
- [Django]-Locating file path from a <InMemoryUploadedFile> Django object
- [Django]-Extract only values without key from QuerySet and save them to list