Hello,
I'm trying to setup the Neo4J-Flask course but, after some tries I still receive the same error when launch Flask run command:
"Error: While importing 'api', an ImportError was raised."
below the full cmd log.
New to Flask configuration (Windows).
Thanks for hints.
Best regards
(sandbox) C:\VirtualEnv\Neo4J_Flask>flask run
Serving Flask app 'api' (lazy loading)
Environment: development
Debug mode: on
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: While importing 'api', an ImportError was raised.
I hate these errors! When I've come across this before I have added PYTHONPATH=. to the command which seemed to fix it. There are a couple of hints here that may also help you solve the problem.