streamlit==1.18.x & streamli-webrtc==0.43.4 are incompatible
yusuf-jkhan1 opened this issue · 1 comments
yusuf-jkhan1 commented
Clean virtual environment. Python 3.11.1. MacOS Monterey, Apple Silicon.
Steps to recreate:
mkdir example && cd example
python -m venv .venv && source .venv/bin/activate
pip install "streamlit==1.18.1"
pip install -U streamlit-webrtc
When you import streamlit-webrtc it throws an ImportError:
ImportError: cannot import name 'SessionInfo' from 'streamlit.runtime.runtime'
whitphx commented
Yes, use 0.44.3 or higher.
Ref: https://github.com/whitphx/streamlit-webrtc/blob/main/CHANGELOG.md#0443---2023-02-11