Flask Tutorial - 2. Creating our First App

preview_player
Показать описание

📣 Other Social:
Рекомендации по теме
Комментарии
Автор

I never understood all of that virtualenv thing but your video helped so much, thanks!!

RealChuaster
Автор

no info given on the magical conversion of the web site to a project. I just started a new VS project and it was more straightforward.

josephgill
Автор

I am following your tutorial and you did something with your mouse 5:15 and add some files somewhere and creat python project, it's really hard to see what you did, can you wrote instructions if you have time thank you

slavo_
Автор

'virtualenv' is not recognized as an internal or external command,
operable program or batch file.

any one have idea

slavo_
Автор

Mac users -- we don't do Script/activate (like you see in the video). Instead, we do this:

source env/bin/activate

That will put you into the (env) just like the Windows version. Yay, Mac OS!

MindyMcAdams
Автор

virtual env did not work for me. I just did pip install flask :/
am I missing something with this virtualenv stuff?
I started out with django but wanted to switch to flask so I'm not all "what is this sorcery?"
I had also installed python 3.5 months back so.. I don't have any of those environment folders in my project folder either.
sorry to bug you :/

Edit: after some googling, just did pip install virtualenv.
not exactly straight forward but I got what I needed... I hope lol.

ModernTartarus
Автор

I love this tutorial (series). I am trying to follow along with Visual Studio. When you did Open -> Website and opened flask_movie you had a flask_movie website. Then you did something around 5:20 that changed it into a project but your mouse was not on the screen. Without that step, when I want to add a new item I only get C# and VB choices. It I were to create a new project I can create a Flask web project and Python project. What did you do at 5:20 to change from web site to project? Thanks. (Oh, I see CynicalWhiskey has asked the same question.)

antoniusj
Автор

Repo link? New to venv's and the file structure is a bit confusing. When you make the main app.py file is that within the root folder or the venv?

yeabuddy
Автор

please do a clone of famous social networking websites in flask
something like a simple twitter or facebook

alirzana
Автор

how to add python environment step... pls give me ans

praveenaj
Автор

Will a conda virtual environment work the same for this kind of stuff?

napoleon_bonaparte
Автор

do we need python 3.5? For some reason "from flask import Flask" only works on my default python 2.7.

kristnnxo
Автор

Hi, Chris,I just follow as what you do, but when I write this command:'virtualenv env', the error occurs:'virtualenv' is not recognized as an internal or external command operable program or batch file', how to solve it?And then I google it and try to install virtualenv, but cannot install it correctly, so can you give me a solution?Thanks!

lgfdecv
Автор

how did you "restart the server" ?
i tried going In/Out of the virtual env. and execute the file, I see no change per the modified code. help

nikilkvn