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

部署的步骤不对吗?一直在报错 #101

Open
Mrleft123 opened this issue Jan 25, 2025 · 0 comments
Open

部署的步骤不对吗?一直在报错 #101

Mrleft123 opened this issue Jan 25, 2025 · 0 comments

Comments

@Mrleft123
Copy link

`E:\pyhton\python.exe D:\AI\NarratoAI-main\main.py
2025-01-26 00:19:24.447 | INFO | app.config.config:load_config:22 - load config from file: D:\AI\NarratoAI-main/config.toml
2025-01-26 00:19:24.450 | INFO | app.config.config::71 - NarratoAI v0.3.9
2025-01-26 00:19:25 | INFO | "./main.py:8": - start server, docs: http://127.0.0.1:8080/docs
Traceback (most recent call last):
File "D:\AI\NarratoAI-main\main.py", line 13, in
uvicorn.run(
File "E:\pyhton\Lib\site-packages\uvicorn\main.py", line 579, in run
server.run()
File "E:\pyhton\Lib\site-packages\uvicorn\server.py", line 66, in run
return asyncio.run(self.serve(sockets=sockets))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\pyhton\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "E:\pyhton\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\pyhton\Lib\asyncio\base_events.py", line 686, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "E:\pyhton\Lib\site-packages\uvicorn\server.py", line 70, in serve
await self._serve(sockets)
File "E:\pyhton\Lib\site-packages\uvicorn\server.py", line 77, in serve
config.load()
File "E:\pyhton\Lib\site-packages\uvicorn\config.py", line 435, in load
self.loaded_app = import_from_string(self.app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\pyhton\Lib\site-packages\uvicorn\importer.py", line 22, in import_from_string
raise exc from None
File "E:\pyhton\Lib\site-packages\uvicorn\importer.py", line 19, in import_from_string
module = importlib.import_module(module_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\pyhton\Lib\importlib_init
.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "D:\AI\NarratoAI-main\app\asgi.py", line 14, in
from app.router import root_api_router
File "D:\AI\NarratoAI-main\app\router.py", line 12, in
from app.controllers.v1 import llm, video
File "D:\AI\NarratoAI-main\app\controllers\v1\llm.py", line 12, in
from app.services import llm
File "D:\AI\NarratoAI-main\app\services\llm.py", line 10, in
from moviepy.editor import VideoFileClip
ModuleNotFoundError: No module named 'moviepy.editor'

Process finished with exit code 1
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant