Thanks for the instruction. I'm taking a course this semester that specializes in developing web apps using the Flask back-end framework, and I think this video was very useful in giving me a basic rundown on the Flask app setup in VS Code.
Thank you so much for this! I ran into some problems while following these steps, specially because I didn't have PATH configured correctly. But after some googling and researching (and some screaming as well) everything worked, so again, thank you!
How did you solve flask run problem? i have same problem too. it gives me Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one.
very helpful video plz make a complete series on Flask and develop a small shopping cart application that clears our concepts.. plz share your precious knowledge with us. Thanks
when i do virtualenv env it shows this :- virtualenv : The term 'virtualenv' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
bro ur video is good but when i enter activating command it is not entering that env file i have installed flask then externally but then also when i use it in my app.py file in vscode it shows that flask is could not resolved i have checked it on GPT also but not getting solution please did anyone know its solution
Hi, after I enter "env\Scripts\activate.bat" , it doesn't show the (env). It is just showing back the C:\user.... What should I do? I couldn't activate it.
after 5:50 i can't run flask. it gives me this error. Please can you help me about it? since two days i'm searching way to solve this problem Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one.
Run 'python3 --version' in your terminal to check to see if you have installed it. python --version without the '3' wasn't working for me. Hope this helps someone out there! Happy coding!
i have python installed but when i go to see on command prompt it says Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Great video. Was able to get through everything except the end. When I click the link after 'flask run' i get an internal server error. i had no problem before we did html and css adds. any advice here?
Is it much needed to create a Virual environment.? because i got following error while activating virtual environment.. "cannot be loaded because running scripts is disabled on this system."
Hey, I followed what you did and i got this error: * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one. what am i doing wrong? Great video nonetheless
I am getting error here please help. PS C:\Users\HP\Desktop itika> flask run * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one. PS C:\Users\HP\Desktop itika>
go to your environment folder where you did the cmd "venv yourenvironmentname" then locate the scripts folder and locate activate.bat so in your cmd it should look like c:\user\yourname\yourenvironmentnamefolder\scripts\activate.bat then run it in cmd. now it should look (yourenvironmentnamefolder) C:\Users\yourname\yourenvironmentnamefolder
@@amaramw in the terminal you can see the "+" sign, click on it then add "command prompt (default), try to start every step from scratch in this cmd instead of powerShell. Hope this help!
Thank you very much for sharing this video! It was very good! But how can I create a python file? Especially I need to create a Python file that includes flask server in this environment. With the same way with CSS and HTML? Thank you in advance!
Thanks for providing this wonderful course, there is an issue on my side which I'm facing with an error when I use the 'flask run'. it shows ERROR: Could not locate a Flask application. can you please guide me?
Im getting some issues $ flask run Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one. can anyone help me at all
bro. i have an error (env) C:\Users\91994\Desktop\flaskdemo2>flask run Usage: flask run [OPTIONS] Try 'flask run --help' for help. Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one. please tell me how i solve this.
Thanks for the instruction. I'm taking a course this semester that specializes in developing web apps using the Flask back-end framework, and I think this video was very useful in giving me a basic rundown on the Flask app setup in VS Code.
I’m glad you found the content useful !
Where are u taking this class ?
Thanks
@@nicolastrudel9320😅🥰hu😅🥰u
Thank you so much for this! I ran into some problems while following these steps, specially because I didn't have PATH configured correctly. But after some googling and researching (and some screaming as well) everything worked, so again, thank you!
How did you solve flask run problem? i have same problem too. it gives me Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one.
thank you,was having many issues with env but having watched your video got me set, ready and go.
You're welcome!
I have no words to thank you 😘😘😘😘
my friend you are THE ABSOLTE BEST PERSON I HAVE EVER SEEN I HOPE YOU REACH A MILLION SUBS
Thank you! Been battling how to start on vscode and I was just missing the install virtualenv, and now it works!
Very easy explanation about how to setup flask in vs code. Keep going. All the good wishes
Thank you, this was a great quick start guide
Fast and to the point, good job
Thank you !
very helpful video plz make a complete series on Flask and develop a small shopping cart application that clears our concepts..
plz share your precious knowledge with us. Thanks
Thank you so much and Yes, more videos will be up soon !
when i do virtualenv env it shows this :-
virtualenv : The term 'virtualenv' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
ok all i had to do was write: python -m virturalenv env
i had to write python -m flask run aswell
Same error how did you do
Yes please tell
How to did u rectify it
After installing virtualenv
virtualenv env this step it is showing virtualenv is not recognised as an internal or external command,
Plzzz help
This is very easy to understand ..very nicely explained❤
Perfect video, not many people are as skilled as you at making things so easy to understand
Thank you for your kind words !
Thank you! This was comprehensive and extremely helpful!
Glad you found it helpful !
Thank You - this video helped to resolve my issue
I've installed virtual env but I have the Error:
'virtualenv' is not recognized as an internal or external command,
operable program or batch file.
Amazing video dude no wasting of time. It helped a lot!
Thanks and glad you found it helpful !
Thank You ! It was easy to understand.
thank you bhai, love from Bangladesh
Thank you ! Glad I could help
bro ur video is good but when i enter activating command it is not entering that env file i have installed flask then externally but then also when i use it in my app.py file in vscode it shows that flask is could not resolved i have checked it on GPT also but not getting solution please did anyone know its solution
Thanks for the help! It worked and it was clear!
Awesome thank you very much have been struggleing alot thanks man
Glad I could help !
Thank you very much for this clear and concise tutorial, this is really helpful !
Glad you found it helpful !
Thanks man, it was a short video but helped a lot
Glad you found it helpful !
Great intro to flask, really helpful
thnaks a lot for this bro I need it today for making assignment
Thanks a lot dude, great tutorial!
Glad you liked it!
This was super helpful. Thank you!
I’m glad you found it helpful !
Hi, after I enter "env\Scripts\activate.bat" , it doesn't show the (env). It is just showing back the C:\user.... What should I do? I couldn't activate it.
Bro answer mila iska same problem occur
Use only env\Scripts\activate don't use .bat
Set-Executionpolicy -scope CurrentUser Unrestricted Run this in ur vs cord terminal after that activate ur visual enveronment will work...try this..
thanks!!
@@naveenkumars5869
.\env\Scripts\activate ===try this
Great demonstration. Though I really need to ask. Do I have to make all of these steps for each app I create or is it a one time thing?
Great video!
thank you for your kind video!
Glad you liked it !
after 5:50 i can't run flask. it gives me this error. Please can you help me about it? since two days i'm searching way to solve this problem
Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one.
Mr. We need you. Please make more Flask videos. I have subscribed and just turned on my notifications. Please we need you.
More videos will be up soon ! Glad you liked it !
@@codevoid thanks for your efforts
Most underrated channel I can say
Subscribed just now ❤️
What if u got error in 1st line of code pip install virtualenv ??? Its saying that file is not loaded but it is actually there what to do?
2:09
Thank you so much bro!
Perfect. Thanks a lot.
This is soo amazing I made my First application soo blessed sir how can I get in touch for more detailed learning from you thanks alot one more time
Glad I could help
Thank u so much brother 💪🏻
You’re welcome, glad I could help !
tysm i needed this
Run 'python3 --version' in your terminal to check to see if you have installed it. python --version without the '3' wasn't working for me. Hope this helps someone out there! Happy coding!
Thanks man!!
What if u got error in 1st line of code pip install virtualenv ???
Very good video. For every flask app we create must we go through the same procedure of installlation of virtual environment , flask etc
i have python installed but when i go to see on command prompt it says Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Great tutorial !
Thank you!
Thank you sooooo much!!
You're welcome!
what if after writing the env command we are not getting into the enevironment its not showing (env) this part after activating
Set-Executionpolicy -scope CurrentUser Unrestricted {Run this in ur vs cord terminal after that activate ur visual enveronment will work...try this..}
still didn't work
@@Samirkhan.0_Official
env\Scripts\activate (without .bat)
When I run virtualenv env..... Getting an error virtualenv is not cmdl......😢😢😢 how can I fix it
Thank you for this video. It was easy to understand.😊
Note the use of cmd terminal not powershell in the video
Great video. Was able to get through everything except the end. When I click the link after 'flask run' i get an internal server error. i had no problem before we did html and css adds. any advice here?
bro i installed the flask but vs code is showing module not found what the problem plesase resolve this
Thankuu sir
activate.bat is not working in pc what should i do and i'm using windows 10
Is it much needed to create a Virual environment.? because i got following error while activating virtual environment..
"cannot be loaded because running scripts is disabled on
this system."
i have issues with activating in mac m1
can you help me out
Thank you so much
very useful. thank you.
Thanks boy
Sir please tell me how we activate env
env/scripts/activate.
env/scripts/activate.bat
When i try to pip install it says command file not found ?
same
After that i get an name error like flask is not defined
Thanks, please make a login page with the help of flask and html
Hey, I followed what you did and i got this error:
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one.
what am i doing wrong? Great video nonetheless
Hey, please make sure to set the flask environment variable correctly, thank you !
Same problem occurred can u say how u resolved it
@@Minn-v6r im not sure i havent tried since then, I changed IDE too.
Have you tried saving the current file(Ctrl+S) and do flask run
@@gouthams222 Thank you so much bhaii
thanks
I am getting error here please help.
PS C:\Users\HP\Desktop
itika> flask run
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one.
PS C:\Users\HP\Desktop
itika>
did it resolve
Same problem help me out as well
Thanks a lot
Thank you 💞
Glad the content could help !
@@codevoid definitely it helped me .. ❤️
I can't activate the env?how to activate that ?Is it need network connection?
go to your environment folder where you did the cmd "venv yourenvironmentname" then locate the scripts folder and locate activate.bat
so in your cmd it should look like c:\user\yourname\yourenvironmentnamefolder\scripts\activate.bat
then run it in cmd.
now it should look
(yourenvironmentnamefolder) C:\Users\yourname\yourenvironmentnamefolder
Thank you.
THANKS!!
After executing flask, auto update is not working in case the code changes.
I am stuck at the part when we have to type "env\Scripts\activate.bat" my cmd doesnt include the (env) prefix, can anyone fix this, sr for bad English
yes me too, please help
@@amaramw in the terminal you can see the "+" sign, click on it then add "command prompt (default), try to start every step from scratch in this cmd instead of powerShell. Hope this help!
@@nguyentuannghia2043 thank you so muchhh
@@nguyentuannghia2043 thank u
Can u tell me how u solved it ..same problem is occurring with me
good
Thank you!
Hi everyone, I am writting "env/bin/activate" from osx and Terminal return me that: "env/bin/activate: command not found"
Thank you
Glad you found the content helpful !
Thank you very much for sharing this video! It was very good! But how can I create a python file? Especially I need to create a Python file that includes flask server in this environment. With the same way with CSS and HTML? Thank you in advance!
Thanks for providing this wonderful course, there is an issue on my side which I'm facing with an error when I use the 'flask run'. it shows ERROR: Could not locate a Flask application. can you please guide me?
me too
Thanks.
Glad I could help !
I face an internal server error every time I run the program...but there are no errors in my program..do anyone have any idea about this..?
same issue
why I can't enter in virtual environment?
Great !
Flask is not opening web browser it is running in kali terminal 😢
How to debug step by step in vs code, you are just using command line and not showing vs features
Im getting some issues $ flask run
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one.
can anyone help me at all
Same problem, please help me too
How to launch terminal ctrl and ???????
Ctrl + “tilde”, it’s the little wavy icon on your keyboard
Ohh but i can't install virtualenv it says pip is not recognised I'm new to vsc
Getting error like 'pip' is not recognised as the name of cmdlet
i got the same error
.\env\Scripts\activate ===try this in last step
Thanks
You’re welcome !
Showing
Warning: This is a development server. Do not use it in production deployment.
Use a production WSGI Server instead.
Debug mode: off
thanks bro
Hello, it doesn't work for me..
Flask run command is not working properly
What if u got error in 1st line of code pip install virtualenv ??? Its saying that file is not loaded but it is actually there what to do?
I got the error "python is not found"
lol
re install python and link it to environment variable path
2.00 press ctrl?
key above tab
why pip is not working
path
bro. i have an error
(env) C:\Users\91994\Desktop\flaskdemo2>flask run
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: Failed to find Flask application or factory in module 'app'. Use 'app:name' to specify one.
please tell me how i solve this.
did u solve it buddy?
@@AshishhShettyy im getting the same thing