AssertionError: Could not find cmake executable

Greetings friends,

I have a problem when deploying an app from streamlit, my app work well when running locally using ‘streamlit run streamlit_application.py’. Because its require the user to create github repo to deploy an application through streamlit community cloud, then i created one. But there are error occur when installing requirements where it stat ‘could not find cmake executable’. This is my link to deployed app ‘https://f9zhjphdrhegxlbs3hi7zz.streamlit.app/’ and this is my public Github repository ‘SDP2/YOLO_NAS_Course_streamlit at main · mujahidzamri/SDP2 · GitHub’ where my requirements.txt, .py files and etc. And here is the repo link to my log error ‘GitHub - mujahidzamri/log-streamlit-app: log error when deploying app streamlit’. The streamlit version is 1.35.0 and python version 3.10.9. Im sorry if i not explain enough details because im new in python and im no expert in software. Please help me and thank you.

Why are you trying to install pycocotools and why version 2.0.4? Looks like you are not using it in the code.

1 Like