Skip to content

No module named fastapi.__main__; 'fastapi' is a package and cannot be directly executed #20

Closed Answered by killjoy1221
staciax asked this question in Questions
Discussion options

You must be logged in to vote

Use python -m fastapi_cli dev app/main.py

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@staciax
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 Further information is requested
2 participants