Error installing dlib

It is working on localhost but throws error when deploying on streamlit share

Hey @Selva-Subramanian

Welcome to the Streamlit Community :tada: :tada:

Can you make a packages.txt file and add cmake to it and try deploying again?


Thank you,

c++: fatal error: Killed signal terminated program cc1plus
compilation terminated. Still facing error.

According to the discussion c++: fatal error: Killed signal terminated program cc1plus · Issue #280 · soedinglab/hh-suite (, this error occurs due to overutilization of resources.

Since the resources on Cloud are limited (specifically on the free tier) I don’t think it is possible to run your app. Though my knowledge of the subject is limited and I am curious to know what other people think about this.

I followed the steps mentioned in this discussion by @snehankekre

Got this error,

  • cv2
  • streamlit_webrtc
  • datetime
  • pickle
    Do you have any idea on how to fix this?

Since you already added opencv to your environment.yml file and it seems to be running perfectly, you don’t need to add cv2.
Also pickle and datetime library also come preinstalled with python so you don’t need to install them.

streamlit_webrtc is tricky though. It is not available to be installed through conda conda install available soon? · Issue #220 · whitphx/streamlit-webrtc (

1 Like