Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'WebSocketException' from 'starlette.exceptions' (/opt/homebrew/lib/python3.9/site-packages/starlette/exceptions.py) #199

Open
GZ315200 opened this issue Apr 7, 2023 · 3 comments

Comments

@GZ315200
Copy link

GZ315200 commented Apr 7, 2023

i use command uvicorn main:app --reload and than i got this error

ImportError: cannot import name 'WebSocketException' from 'starlette.exceptions' (/opt/homebrew/lib/python3.9/site-packages/starlette/exceptions.py)
@davisharry
Copy link

I got this problem too. any solutions?

@arianpasquali
Copy link

arianpasquali commented Aug 1, 2024

Same here

starlette.version
'0.37.2'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@arianpasquali @GZ315200 @davisharry and others