Attribute Error: 'str' object has no attribute 'items'

Hello folks!
I have been trying to use streamlit for the very first time with one of my pydeck projects, but the very first step poses a problem. I get an Attribute error message no matter what command I run (streamlit hello, streamlit config…etc). See picture for one such instance.
I am using Python 3.7 (pip env). Can anyone offer any solution, please?