whitphx / streamlit-webrtc

Real-time video and audio processing on Streamlit
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.41k stars 189 forks source link

Installing streamlit_webrtc #1056

Closed Dina-H-Alhamed closed 1 year ago

Dina-H-Alhamed commented 2 years ago

I am facing an issue using the streamlit-webrtc

Even after installing the library with pip install streamlit_webrtc It show me this messeage E972FF02-66B0-47EC-8E81-0B6B2532B046 AC3A6F79-76F6-4FAF-976D-B127CB0C1300

Dina-H-Alhamed commented 2 years ago

Anyone knows why it’s not defined even that I install the library but some errors shows after entering pip install streamlit-webrtc

manhph2211 commented 2 years ago

Hi @Dina-H-Alhamed I think following this https://discuss.almabetter.com/t/capstone-project-facial-emotion-recognition-library-installation-problem/5886 should help you successfully install it!

whitphx commented 2 years ago

It looks like the error occurred at installing the library netifaces, which is a dependency of streamlit_webrtc. The dependency chain is streamlit_webrtc -> aiortc -> aioice -> netifaces.

Technical memo: the dependency tree is below.

aiortc 1.3.2 An implementation of WebRTC and ORTC
├── aioice >=0.7.5,<0.8.0
│   ├── dnspython >=2.0.0
│   └── netifaces *

Then I found this package: https://pypi.org/project/aioice-no-netifaces/ Can you try it? Install https://pypi.org/project/aioice-no-netifaces/ first, then try to install streamlit_webrtc.