79443568

Date: 2025-02-16 16:59:53
Score: 2.5
Natty:
Report link

I got the same error I am able to fix it the issue was in the website folder I created the file init.py file incorrectly first i created like these init.py and when I tried to run main.py I am getting error
ImportError: cannot import name 'create_app' from 'website' (unknown location)

second I renamed the file with two underscores init.py and when I tried to rerun the main.py my issue was solved PS C:\Users\dgr_g\daily-task\flask-web-aaplication> & C:/Users/dgr_g/AppData/Local/Programs/Python/Python313/python.exe c:/Users/dgr_g/daily-task/flask-web-aaplication/main.py

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: d.gou