You also have this line
I don’t know for certain, but I suspect that having two - before headless breaks the pip install, which keeps the process from installing correctly. What do your installation logs show (it’s the icon on the bottom right of Streamlit share)