UnicodeDecodeError

Hello! Just installed streamlit and cannot even run streamlit hello.

Running into the error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 40: ordinal not in range(128)

Running in python 2.7.17.

Thank you!

Hi @softserveslayer! I just tried to reproduce your issue running streamlit in Python 2.7.17 on OSX and was unable to do so.

Can you give us some more information about your environment?

  1. What OS – and what version of that OS – are you running?
  2. Are you running Python within a virtual environment? If so, which one? (pipenv, virtualenv, conda…)
  3. Can you confirm your Python version again? (Particularly if you are running a virtual environment.)
  4. What version of streamlit are you running? (In a shell you can do pip freeze | grep streamlit to get this info.)

Thanks for your patience!