Traceback error

Actually i have this issue when i run “Streamlit Hello” on CMD:

C:\Users\FZC>streamlit hello

Traceback (most recent call last):
  File "E:\Python\lib\", line 207, in _run_module_as_main
    return _run_code(code, main_globals, None, "__main__", mod_spec)
  File "E:\Python\lib\", line 91, in _run_code
    exec(code, run_globals)
  File "E:\Python\Scripts\streamlit.exe\", line 7, in <module>
  File "E:\Python\lib\site-packages\click\", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "E:\Python\lib\site-packages\click\", line 1055, in main
    rv = self.invoke(ctx)
  File "E:\Python\lib\site-packages\click\", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "E:\Python\lib\site-packages\click\", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "E:\Python\lib\site-packages\click\", line 760, in invoke
    return __callback(*args, **kwargs)
  File "E:\Python\lib\site-packages\streamlit\web\", line 156, in main_hello
  File "E:\Python\lib\site-packages\streamlit\web\", line 315, in load_config_options
    config.get_config_options(force_reparse=True, options_from_flags=options_from_flags)
  File "E:\Python\lib\site-packages\streamlit\", line 1091, in get_config_options
    file_contents =
  File "E:\Python\lib\", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Does anyone have the same issue? how can i fix it?

I am very thankfull with the community and so excited to continue exploring the streamlit tools.

Hi @Fernando_Zubieta,

What version of Streamlit are you running?

1 Like


I’m running on 1.17.0

Solution at: