Error after upgrade to 0.69

After upgrade to streamlit 0.69 I have run into problems running streamlit on my windows pc
I am getting the following error message: would appreciate some help

I am running streamlit 0.69 with python 3.7 on a windows 10 system with conda. Browser is chrome. I upgraded to 0.69 from 0.60

Traceback (most recent call last):
File “c:\users\imall\anaconda3\lib\”, line 193, in run_module_as_main
main”, mod_spec)
File “c:\users\imall\anaconda3\lib\”, line 85, in run_code
exec(code, run_globals)
File "C:\Users\imall\Anaconda3\Scripts\streamlit.exe_main
.py", line 5, in
File "c:\users\imall\anaconda3\lib\site-packages\streamlit_init
.py", line 75, in
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File “c:\users\imall\anaconda3\lib\site-packages\streamlit\”, line 25, in
from streamlit.proto import Block_pb2
File “c:\users\imall\anaconda3\lib\site-packages\streamlit\proto\”, line 21, in
AttributeError: module ‘google.protobuf.descriptor’ has no attribute ‘_internal_create_key’

1 Like

Hello @Indranil_Mallick,

Since you made a huge jump from 0.60 to 0.69, my guess from the logs is protobuf did not get upgraded correctly (I got this issue around Streamlit 0.64)

Could you try reinstalling protobuf :

pip uninstall protobuf
pip install protobuf

(You can also follow a more detailed procedure here)



Thanks @andfanilo. Worked like a charm.