Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
csipapicsa opened this issue Jun 21, 2024 · 0 comments
Open

Comments

@csipapicsa
Copy link

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:

  • Python version: Python 3.9.18

  • Streamlit version: 1.32.0

  • streamlit-webrtc version: 0.47.7

  • OS:
    NAME="AlmaLinux"
    VERSION="9.3 (Shamrock Pampas Cat)"
    ID="almalinux"
    ID_LIKE="rhel centos fedora"
    VERSION_ID="9.3"
    PLATFORM_ID="platform:el9"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant