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
/Users/frazer/Library/Python/2.7/lib/python/site-packages/requests/init.py:91: RequestsDependencyWarning:
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
#export PATH=/Users/YOU/Library/Python/2.7/bin:$PATH
and now it works a treat.
Hope this is helpful.
Frazer