Skip to content

Can fastapi-cli be moved to an extra of fast api, rather than a default. #11525

Answered by tiangolo
ollz272 asked this question in Questions
Discussion options

You must be logged in to vote

Thanks for the feedback everyone!

As having fastapi include by default the standard dependencies has been inconvenient to several people, I decided to make those standard dependencies an optional extra group standard.

So, to get the standard optional dependencies people now have to install it with:

pip install "fastapi[standard]"

Note: remember to use the quotes, depending on your terminal that might be required.

Having the optional extra, square brackets, quotes, is not as nice as just fastapi, it's extra things to have in mind, and extra things for newcomers to learn from the beginning. But anyway, it seems that having the default standard dependencies installed by default, and having t…

Replies: 10 comments 20 replies

Comment options

You must be logged in to vote
3 replies
@ollz272
Comment options

@tiangolo
Comment options

@zoola969
Comment options

Comment options

You must be logged in to vote
3 replies
@tiangolo
Comment options

@mjbommar
Comment options

@aymenkrifa
Comment options

Comment options

You must be logged in to vote
1 reply
@tiangolo
Comment options

Comment options

You must be logged in to vote
2 replies
@tiangolo
Comment options

@Chouvic
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@hasansezertasan
Comment options

@mattmess1221
Comment options

@benjsec
Comment options

@aybruhm
Comment options

@RobertDeRose
Comment options

Comment options

You must be logged in to vote
1 reply
@zoola969
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MtkN1
Comment options

@tiangolo
Comment options

Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem