Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我使用conda部署,在Linux服务器上。 前面的步骤都过去了。执行sh webui.sh端口也启动起来了。但是浏览器输入地址访问就出现了下面的问题 #571

Open
1 task done
mark988 opened this issue Jan 16, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@mark988
Copy link

mark988 commented Jan 16, 2025

是否已存在类似问题?

  • 我已搜索现有问题

当前行为

ModuleNotFoundError: No module named 'app'
Traceback:
File "/root/anaconda3/envs/MoneyPrinterTurbo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/root/anaconda3/envs/MoneyPrinterTurbo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/root/MoneyPrinterTurbo/webui/Main.py", line 9, in
from app.config import config

预期行为

正常显示

重现步骤

输入 http://39.101.175.96:8502/ 访问的时候报错Lee

堆栈追踪/日志

ModuleNotFoundError: No module named 'app'
Traceback:
File "/root/anaconda3/envs/MoneyPrinterTurbo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/root/anaconda3/envs/MoneyPrinterTurbo/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/root/MoneyPrinterTurbo/webui/Main.py", line 9, in
from app.config import config

Python 版本

Python 3.10.16

操作系统

linux

MoneyPrinterTurbo 版本

v1.2.2

其他信息

No response

@mark988 mark988 added the bug Something isn't working label Jan 16, 2025
@LQPDevin
Copy link

#563 和这个问题是一样吧

@mark988
Copy link
Author

mark988 commented Jan 16, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants