You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: