Summary
We’ve created a fork from streamlit in github, and I’m trying to install the fork using pip, and I have the following error when I try to import streamlit in python code.
ModuleNotFoundError: No module named ‘streamlit.proto.BackMsg_pb2’
Steps to reproduce
Code snippet:
pip install -e 'git+https://github.com/guilhermealc/streamlit.git#egg=streamlit&subdirectory=lib' --force-reinstall --use-pep517
python
>> import streamlit
Error:
ModuleNotFoundError: No module named 'streamlit.proto.BackMsg_pb2'
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
Expected behavior:
I expect it to properly import streamlit without any errros.
Actual behavior:
Error above: ModuleNotFoundError: No module named ‘streamlit.proto.BackMsg_pb2’
Debug info
- Streamlit version: (get it with
$ streamlit version
) - Python version: 3.10.5
- Using Conda? PipEnv? PyEnv? Pex? - PyEnv
- OS version: MacOS Monterrey 12.6 (21G115)
- Browser version:
Requirements file
Using python venv.
Links
- Link to your GitHub repo: GitHub - guilhermealc/streamlit: Streamlit — The fastest way to build data apps in Python
- Link to your deployed app: N/A