streamlit.cmd run Hello.py
Traceback (most recent call last):
File "D:\Users\EDZ\anaconda3\envs\py36@shenji\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\Users\EDZ\anaconda3\envs\py36@shenji\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\EDZ\AppData\Roaming\Python\Python36\site-packages\streamlit\__main__.py", line 16, in
from streamlit.cli import main
File "C:\Users\EDZ\AppData\Roaming\Python\Python36\site-packages\streamlit\cli.py", line 150, in
@configurator_options
File "C:\Users\EDZ\AppData\Roaming\Python\Python36\site-packages\streamlit\cli.py", line 67, in configurator_options
func = config_option(func)
File "D:\Users\EDZ\anaconda3\envs\py36@shenji\lib\site-packages\click\decorators.py", line 170, in decorator
_param_memo(f, OptionClass(param_decls, **attrs))
File "D:\Users\EDZ\anaconda3\envs\py36@shenji\lib\site-packages\click\core.py", line 1460, in __init__
Parameter.__init__(self, param_decls, type=type, **attrs)
TypeError: __init__() got an unexpected keyword argument 'show_envvar'
streamlit:1.10.0
python:3.6.5
numpy:1.19.5
click:8.0.3
解决方案:卸载numpy和click,重新安装numpy和click,版本不变。