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\runpy.py", line 207, in _run_module_as_main
    return _run_code(code, main_globals, None, "__main__", mod_spec)
  File "E:\Python\lib\runpy.py", line 91, in _run_code
    exec(code, run_globals)
  File "E:\Python\Scripts\streamlit.exe\__main__.py", line 7, in <module>
  File "E:\Python\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "E:\Python\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "E:\Python\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "E:\Python\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "E:\Python\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "E:\Python\lib\site-packages\streamlit\web\cli.py", line 156, in main_hello
    bootstrap.load_config_options(flag_options=kwargs)
  File "E:\Python\lib\site-packages\streamlit\web\bootstrap.py", 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\config.py", line 1091, in get_config_options
    file_contents = input.read()
  File "E:\Python\lib\codecs.py", 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

Hi!

I’m running on 1.17.0

Solution at:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.