#6009 System Error (None): NoneTraceback (most recent call last):

43.132* Posted at: 14 hours ago

System Error (None): None
Traceback (most recent call last):
File "/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/soundfile.py", line 267, in

_snd = _ffi.dlopen('sndfile')

File "/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/cffi/api.py", line 150, in dlopen

lib, function_cache = _make_ffi_library(self, name, flags)

File "/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/cffi/api.py", line 834, in _make_ffi_library

backendlib = _load_backend_lib(backend, libname, flags)

File "/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/cffi/api.py", line 829, in _load_backend_lib

raise OSError(msg)

OSError: ctypes.util.find_library() did not manage to locate a library called 'sndfile'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/haomingwen/Desktop/work2/pyvide
......
ython3.10/site-packages/cffi/api.py", line 834, in _make_ffi_library

backendlib = _load_backend_lib(backend, libname, flags)

File "/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/cffi/api.py", line 829, in _load_backend_lib

raise OSError(msg)

OSError: cannot load library '/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib': dlopen(/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib, 0x0002): tried: '/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file), '/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib' (no such file). Additionally, ctypes.util.find_library() did not manage to locate a library called '/Users/haomingwen/Desktop/work2/pyvideotrans/.venv/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: /Users/haomingwen/Library/Application Support/Electron/workspace/tasks/be5f3318/output/0720-03_全球能源冲突/0720-03_全球能源冲突.mp4,
输出结果保存到文件夹: /Users/haomingwen/Library/Application Support/Electron/workspace/tasks/be5f3318/output/0720-03_全球能源冲突/_video_out/0720-03_全球能源冲突-mp4,
临时文件夹: /Users/haomingwen/Desktop/work2/pyvideotrans/tmp/61069/540f8b0d7b
已选 清理已存在
未选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
发音语言和目标语言相同,不翻译字幕
未选 配音角色,不进行配音
字幕: Embed Hard Subs
代理地址:


=
system:macOS-26.5.2-arm64-arm-64bit
version:v4.06
frozen:False
language:en
root_dir:/Users/haomingwen/Desktop/work2/pyvideotrans
Python: 3.10.18 (main, Jul 8 2025, 20:41:41) [Clang 20.1.4 ]

1 Replies

This error occurs because the soundfile Python library requires the system library libsndfile, which is missing on your macOS.

Solution: Install libsndfile using Homebrew:

  1. Open Terminal.
  2. Run: brew install libsndfile
  3. After installation, restart pyVideoTrans.

If you haven't installed Homebrew yet, install it first from https://brew.sh, then run the above command.

For a complete macOS setup, also ensure you have the other prerequisites from the documentation:

  • brew install git
  • brew install [email protected]
  • Proper FFmpeg installation (>=6) via brew install homebrew-ffmpeg/ffmpeg/ffmpeg (after uninstalling default ffmpeg)

Please consult relevant documentation:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Dondate via PayPal

Related resource