MoneyPrinterTurbo icon indicating copy to clipboard operation
MoneyPrinterTurbo copied to clipboard

报错 ModuleNotFoundError: No module named 'app'

Open ethaniel86 opened this issue 2 months ago • 3 comments

是否已存在类似问题?

  • [X] 我已搜索现有问题

当前行为

MacOS启动前端报错 #sh webui.sh

预期行为

打开前端

重现步骤

执行 sh webui.sh

堆栈追踪/日志

ModuleNotFoundError: No module named 'app'

Traceback: File "/opt/miniconda3/envs/MoneyPrinterTurbo/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() ^^^^^^ File "/opt/miniconda3/envs/MoneyPrinterTurbo/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.dict) File "/Users/fulin/Downloads/MoneyPrinterTurbo/webui/Main.py", line 9, in from app.config import config

Python 版本

v3.11

操作系统

macOS 15.1.1

MoneyPrinterTurbo 版本

v1.2.2

其他信息

No response

ethaniel86 avatar Dec 12 '24 22:12 ethaniel86