Python Websockets 오류해결 - BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'

환리·2025년 9월 2일

평화롭게 파이썬 웹소켓 튜닝하던중에 문제가 발생

직감적으로 절대 코드 문제는 아니고 바로 구글링

https://github.com/pytr-org/pytr/issues/167

나처럼 비슷한 증상이 나타나는 사람들이 많다는 것을 확인

Hi @timherz86
Same error, I solved doing this:

`pip uninstall websockets

pip install websockets==10.1`

With this version I dont have errors. Hope this helps you.

이렇게 해결했다고 함.

나도 이렇게 하니 해결됨
깃허브와 스택 오버플로우에는 없는 오류가 없다

결론

    1. pip uninstall websockets
    1. pip install websockets==10.1
profile
늙고병듦.

0개의 댓글