whitphx / streamlit-webrtc

Real-time video and audio streams over the network, with Streamlit.
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.26k stars 169 forks source link

streamlit_webrtc fails to import due to OpenSSL issue on AlmaLinux 9.3 #1687

Open csipapicsa opened 1 week ago

csipapicsa commented 1 week ago

I can't ue the package, there is a problem with the OpenSSL

File "/usr/_streamlit_playground/video.py", line 3, in from streamlit_webrtc import webrtc_streamer, VideoTransformerBase File "/usr/local/lib/python3.9/site-packages/streamlit_webrtc/init.py", line 9, in from .component import ( File "/usr/local/lib/python3.9/site-packages/streamlit_webrtc/component.py", line 20, in from streamlit_webrtc.models import ( File "/usr/local/lib/python3.9/site-packages/streamlit_webrtc/models.py", line 8, in from aiortc.contrib.media import MediaPlayer, MediaRecorder File "/usr/local/lib64/python3.9/site-packages/aiortc/init.py", line 10, in from .rtcdtlstransport import ( File "/usr/local/lib64/python3.9/site-packages/aiortc/rtcdtlstransport.py", line 16, in from OpenSSL import SSL, crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/init.py", line 8, in from OpenSSL import SSL, crypto File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 34, in from OpenSSL.crypto import ( File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 942, in utils.deprecated(

System information: