File "/usr/local/bin/streamlit", line 5, in
from streamlit.cli import main
File "/usr/local/lib/python3.11/site-packages/streamlit/init.py", line 48, in
.....
TypeError: Descriptors cannot not be created directly.
genai-stack-loader-1 | If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
genai-stack-loader | If you cannot immediately regenerate your protos, some other possible workarounds are:
genai-stack-loader | 1. Downgrade the protobuf package to 3.20.x or lower.
genai-stack-loader | 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
all 3 deployments have this problem
genai-stack-bot
genai-stack-pdf_bot
genai-stack-loader
Mac book M1.
Streamlit was always causing problems on M1.
I have an M1 too, but the streamlit app is run inside of the container.
Not sure if there's a docker setting that helps with this? @slimslenderslacks
Nov 03
'23 16:11
jexp