MoneyPrinterTurbo icon indicating copy to clipboard operation
MoneyPrinterTurbo copied to clipboard

新版本会报 导入task失败,屏蔽可以正常运行,但是无法生成视频

Open ganfengbao opened this issue 11 months ago • 1 comments

ganfengbao avatar Mar 22 '24 14:03 ganfengbao

可以看下详细的错误么?是Windows系统? 你看看执行 webui.bat 的时候,打印出来的

***** Current directory: XXXXXXXXXX

路径,是你当前项目的路径么?

或者可以改下这个地方试试看能不能解决

set PYTHONPATH=你的绝对路径

harry0703 avatar Mar 23 '24 00:03 harry0703

2024-03-22 22:26:02.979 Uncaught app exception Traceback (most recent call last): File "E:\soft\install\conda\envs\MoneyPrinterTurbo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script exec(code, module.dict) File "E:\soft\MoneyPrinterTurbo\webui\Main.py", line 9, in from app.services import task, llm File "E:\soft\MoneyPrinterTurbo\app\services\task.py", line 9, in from app.services import llm, material, voice, video, subtitle File "E:\soft\MoneyPrinterTurbo\app\services\material.py", line 16, in raise ValueError("pexels_api_keys is not set, please set it in the config.toml file.") ValueError: pexels_api_keys is not set, please set it in the config.toml file. 2024-03-22 22:26:02.980 Uncaught app exception Traceback (most recent call last): File "E:\soft\install\conda\envs\MoneyPrinterTurbo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in run_script exec(code, module.dict) File "E:\soft\MoneyPrinterTurbo\webui\Main.py", line 9, in from app.services import task, llm ImportError: cannot import name 'task' from 'app.services' (E:\soft\MoneyPrinterTurbo\app\services_init.py)

启动时候报的这个问题,是用webui.bat启动的,在anconda环境下

ganfengbao avatar Mar 23 '24 02:03 ganfengbao

ValueError: pexels_api_keys is not set, please set it in the config.toml file.

是这个错误引起的,你需要先设置 pexels_api_keys,比如

pexels_api_keys = ["123456789","abcdefghi"]

harry0703 avatar Mar 23 '24 03:03 harry0703

ValueError: pexels_api_keys is not set, please set it in the config.toml file.

是这个错误引起的,你需要先设置 pexels_api_keys,比如

pexels_api_keys = ["123456789","abcdefghi"]

确实是这个问题,已经可以了,多谢

ganfengbao avatar Mar 23 '24 03:03 ganfengbao