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

python main.py 后报错 #2

Open
wangjing3910 opened this issue Oct 11, 2023 · 0 comments
Open

python main.py 后报错 #2

wangjing3910 opened this issue Oct 11, 2023 · 0 comments

Comments

@wangjing3910
Copy link

whisper 已经安装完毕,并可以使用命令执行转化;但执行 python main.py 报错;错误如下:

Traceback (most recent call last):
File "/Users/wangjing/Desktop/whisper/whisper-web/main.py", line 1, in
from web import app
File "/Users/wangjing/Desktop/whisper/whisper-web/web/init.py", line 6, in
from core import VideoThread, get_process, translate
File "/Users/wangjing/Desktop/whisper/whisper-web/core/init.py", line 6, in
import moviepy.editor as mp
File "/Users/wangjing/miniconda3/lib/python3.10/site-packages/moviepy/editor.py", line 36, in
from .video.io.VideoFileClip import VideoFileClip
File "/Users/wangjing/miniconda3/lib/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 6, in
from moviepy.video.VideoClip import VideoClip
File "/Users/wangjing/miniconda3/lib/python3.10/site-packages/moviepy/video/VideoClip.py", line 24, in
from .io.ffmpeg_writer import ffmpeg_write_video
File "/Users/wangjing/miniconda3/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_writer.py", line 16, in
from tools import write_info
ImportError: cannot import name 'write_info' from 'tools' (/Users/wangjing/miniconda3/lib/python3.10/site-packages/tools/init.py)

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