我正在尝试执行流光应用程序,我得到以下错误:
streamlit run file_name.py SyntaxError: invalid syntax
我使用conda和pip安装了Streamlit,在使用"pip列表"验证安装后,我仍然得到相同的错误。和"conda list";命令……请帮助
你可以采取这些步骤:
(1)使用cd
命令导航到项目所在的目录。
(2)用Scripts/activate
激活终端上的venv
(3)然后可以运行streamlit run file_name.py
。