CoreyMSchafer/code_snippets

Cannot import the db from the flaskblog folder

AngadLC opened this issue · 3 comments

I have done your stuff as you teach in the youtube channel.
When i want to import the db from the flaskblog floder the conda is giving the error "ImportError: cannot import name 'db' from 'flaskblog' (E:\anoconda install\envs\flaskwork\lib\site-packages\flask_init_.py)" how can i solve this problem

how are you writing that just Give a screenshot, Maybe There Would Be A Problem, in writing you Import

here is the attached code
image

gym66 commented

i am getting same error, did you guys find the solution??