Hi everyone, I wanted to how I fixed this problem incase anyone else comes across it in the future.
Streamlit was always running on python 2, even though I had updated system with pyenv to 3.8 and set that as the default.
$ streamlit hello
IMPORTANT: This version of Streamlit is the last that one that
will be supported on this version of Python!!!
So, I found and commented this out in my .bash_profile
and now it works a treat.
Hope this is helpful.