0

Why everytime I need to install Flask

Hi guys. I am learning Flask with Python. When I creating new project and type 'from flask import Flask' it shows no flask on it. So everytime I need to do 'pip install flask' on PyCharm. I thought if I did once, so it'll be always on PyCharm, but now on every single new project I need to repeat that. Any thoughts or concerns? Thank you

16th Aug 2020, 8:51 PM
Sigitas S
Sigitas S - avatar
1 Answer
+ 3
It means you need to create a virtual environment for your flask project. Please do some search on "working with virtual environment"
16th Aug 2020, 8:54 PM
Mirielle
Mirielle - avatar