#質問内容
python のwebsocket をインポートするところでつまづいています.
環境を新しくインストールし直したらできなくなりました.
どなたか解決方法を教えていただきたいです.
#コード
import json
import websocket
url = "wss://localhost:6868/"
ws = websocket.create_connection(url)#, sslopt={"cert_reqs": ssl.CERT_NONE})
#エラー内容
module 'websocket' has no attribute 'create_connection'
あなたの回答
tips
プレビュー