rstudio/shiny-server

ModuleNotFoundError: No module named 'uvicorn' on SockJSAdapter.py

Opened this issue · 2 comments

File in question:

SockJSAdapter.py

The Error Message:

Using Python 3.10.6 at /usr/bin/python3 Traceback (most recent call last): File "/opt/shiny-server/python/SockJSAdapter.py", line 14, in <module> import uvicorn ModuleNotFoundError: No module named 'uvicorn'

System Specs:

Ubuntu 22.04

How to reproduce it:

  • Just run shiny-server with Shiny for python application

Also getting this same error, did you manage to resolve it? Installing uvicorn through pip install in my dockerfile doesn't help as far as I can see

avhz commented

Anyone found a way to resolve this ?