Ask coding questions

← Back to all posts
PC Instaling packages
isaiah08 (63)

I just got a PC, and i downloaded the python IDLE. I want to use Flask for one of my projects. How can i do this?

Comments
hotnewtop
realTronsi (911)

By actually trying to find the answer before asking: https://flask.palletsprojects.com/en/1.1.x/installation/

pip install Flask
isaiah08 (63)

WHERE SHOULD I TYPE IT??????????????????? @realTronsi

realTronsi (911)

@isaiah08 in the terminal/shell. Make sure you also have pip installed just in case

isaiah08 (63)

how do i instal pip??? @realTronsi

Coder100 (17035)

pip install flask as your bash command

isaiah08 (63)

Where should i type it? @isaiah08

Coder100 (17035)

yeah in your current directory @isaiah08

isaiah08 (63)

Where should i type all this stuff? The shell or IDLE??? @Coder100

Coder100 (17035)

so yeah type in all the install things in the shell and everything python related in the idle @isaiah08

isaiah08 (63)

Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
My input: pip install flask
Computer output: SyntaxError: invalid syntax

@Coder100

realTronsi (911)

@isaiah08 don't type it in your code, type it in the shell.