I have been trying my best to run my streamlit app , but I am unable to launch it in VS code ,
This is the error I am getting :
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File "C:\Users\USER\venv\Scripts\streamlit.exe_main.py", line 7, in
File “C:\Users\USER\venv\Lib\site-packages\click\core.py”, line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\venv\Lib\site-packages\click\core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “C:\Users\USER\venv\Lib\site-packages\click\core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\venv\Lib\site-packages\click\core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\venv\Lib\site-packages\click\core.py”, line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\venv\Lib\site-packages\streamlit\web\cli.py”, line 201, in main_run
bootstrap.load_config_options(flag_options=kwargs)
File “C:\Users\USER\venv\Lib\site-packages\streamlit\web\bootstrap.py”, line 367, in load_config_options
config.get_config_options(force_reparse=True, options_from_flags=options_from_flags)
File “C:\Users\USER\venv\Lib\site-packages\streamlit\config.py”, line 1285, in get_config_options
file_contents = input.read()
^^^^^^^^^^^^
File “”, line 322, in decode
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte
python version:3.12.0
streamlit :1.30.0