Search your entire project/solution (generally ctrl-shift-f) for 'flask' or whatever the name import error is. You may have it being imported twice and just need to remove one.