Type error while deploying streamlit website

when deploying the website the build is succesfull and
started the services by streamlit run app.py
there is an type error


how to fix it?

Hi there,

Thanks for reaching out.

This looks like an issue with your packages. The output you shared suggests a potential fix around the protobuf package version. This post from the streamlit forum also appears to cover this error: https://discuss.streamlit.io/t/typeerror-descriptors-cannot-not-be-created-directly/25639

Another thing worth checking would be that you’re using the same Python version as you develop the project on. Specifying a Python Version

Hope that helps

Alan

thanks for the help it worked

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.