Closed donhuvy closed 1 year ago
Fix error: https://stackoverflow.com/a/73371225/3728901
The fix in the Stack Overflow post is to install protobuf==4.21
with pip, however in https://github.com/streamlit/streamlit/issues/5626 the comment from @willhuang1997 says that this would likely break:
Hi, yes there would be concerns for bumping protobuf! This would likely break streamlit as it's a major version change and would require a decent amount of refactoring.
As a workaround for this error, I've downgraded Streamlit to 1.15.2.
Checklist
Summary
error ImportError
Reproducible Code Example
Steps To Reproduce
Run example with Jupyter lab or GitHub codespace.
Expected Behavior
Import success.
Current Behavior
Exception when import.
Is this a regression?
Debug info
Additional Information
No response
Are you willing to submit a PR?