Closed Einsteinia11 closed 1 year ago
Hello @Einsteinia11
Can you please execute the set up as suggested on the README, outside of the editor?
Those imports are not errors, are just warnings bumped by the editor because the imports are not available.
In order to assist you further, please reply with a complete execution log when running the project in a terminal.
Thank you!
Hello๐, I have executed the set up through README itself!
Here's the whole screenshot of my entire set up in VsCode ๐
Whatever is written in the tip as you can see in the image I have already done that and also Flask is also installed but still don't know why this type of error occurring๐ค!
Thank You๐โโ๏ธ!
The FLASK_APP
is not exported.
Seems that you're using PowerShell
and the missing command is this one:
$env:FLASK_APP = ".\run.py"
Please retry and let us know your progress.
Now this error!
pip install -r requirements.txt
P.S. all steps are listed on the README.
Any Flask APP needs the following:
PIP
directly in the system or using a Virtual ENV
pip install -r requirements.txt
FLASK_APP
variable to inform Flask about the entry pointflask run
5000
//ORflask run --port=5077
using a different PORT
5077
Let us know your progress.
Done!๐
This helped me๐
Install modules via PIP directly in the system or using a Virtual ENV
pip install -r requirements.txt
Actually I was executing the above command in cmd and didn't did in powershell :') Thank you so much! Have a great day๐โโ๏ธ!
Glad it worked. Let us know anytime if you need further assistance. ๐๐
Hey ๐, I followed all the steps but I am getting the below errors while I am trying to run the last step
$ flask run
General information: I am working on VS Code editor