|
无法启动main文件
Traceback (most recent call last):
File "D:\anaconda\Lib\site-packages\IPython\core\interactiveshell.py", line 3526, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-8-e2f79413ddd4>", line 12, in <module>
main()
File "<ipython-input-8-e2f79413ddd4>", line 6, in main
streamlit_script_path = os.path.join(os.path.dirname(__file__), "streamlit_main.py")
^^^^^^^^
NameError: name '__file__' is not defined
|
|