skip to Main Content

Docker File and Python

Apologies I am very new to Docker. I have the following Docker file which contains the following commands (see below). I am not sure I understand all commands and I would appreciate some explanation. I commented all the lines I…

VIEW QUESTION

ModuleNotFoundError: No module named 'websockets.datastructures' – Ubuntu

I don't know how to fix this error on Ubuntu. I'm trying to run a FastApi server using uvicorn uvicorn.run("api:app", host="0.0.0.0", port=3100, reload=True, workers=10) I've tried pip3 install websockets : Collecting websockets Downloading https://files.pythonhosted.org/packages/7e/86/cef054220bc080451fe9663ce7f99beda0599098241190b6b6dc1073ab92/websockets-10.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (112kB) 100% |████████████████████████████████| 112kB 5.9MB/s Installing…

VIEW QUESTION
Back To Top
Search