我正在尝试运行streamlit应用程序(python 3.7.3),在安装后显示该错误
streamlit hello
File "<ipython-input-2-c7a1b683aa76>", line 1
streamlit hello
^
SyntaxError: invalid syntax发布于 2020-04-14 00:13:27
有点晚了,但这里是在Windows上使用的推荐设置:https://github.com/streamlit/streamlit/wiki/Installing-in-a-virtual-environment
发布于 2020-06-13 11:55:50
复制C:\Users\AppData\Roaming\Python\Python36\Scripts中的streamlit文件并将其粘贴到您的C:\ProgramData\Anaconda3\Scripts中,然后在anaconda提示符中运行streamlit代码。
要运行的命令:
streamlit run filename.py发布于 2021-06-27 18:21:21
在windows中
py -m streamlit run hello.pyhttps://stackoverflow.com/questions/60866205
复制相似问题