#3216 OSError: cannot load library 'libsndfile.dll': error 0x7e

217.131* Posted at: 3 hours ago 👁5

Traceback (most recent call last):
File "soundfile.py", line 184, in
OSError: cannot load library 'C:\Users\eydib\AppData\Local\Temp\Rar$EXa11472.44538\_internal\_soundfile_data\libsndfile_x64.dll': error 0x7e

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "soundfile.py", line 190, in
OSError: sndfile library not found using ctypes.util.find_library

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\winform\fn_peiyin.py", line 189, in openwin
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "videotrans\task\_dubbing.py", line 14, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "videotrans\task\_rate.py", line 81, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "soundfile.py", line 212, in
OSError: cannot load library 'libsndfile.dll': error 0x7e


=
system:Windows-10-10.0.26200-SP0
version:v3.96
frozen:True
language:en
root_dir:C:/Users/eydib/AppData/Local/Temp/Rar$EXa11472.44538

1 Replies

This error is caused by a missing or corrupted libsndfile.dll library, which is required for audio file processing. The issue occurs because the software is being run directly from within the compressed archive (.rar file), preventing the necessary DLL from being loaded correctly.

Solution Steps:

  1. Extract the software: You must fully extract the downloaded .7z or .rar archive to a local folder on your hard drive (e.g., D:\pyVideoTrans). Do not run the software (sp.exe) from inside the archive or a temporary folder.
  2. Check the path: Ensure the extraction path contains no Chinese characters, spaces, or special symbols.
  3. Use the correct executable: After extraction, navigate to the extracted folder and run sp.exe from there.
  4. (If the error persists) The DLL file might be missing from the package. Re-download the full version of the software (not the patch/update package) and extract it again.

Important: The error log shows your current path is C:/Users/eydib/AppData/Local/Temp/Rar$EXa11472.44538, which is a temporary extraction folder created by your archive tool (like WinRAR). This is not a valid installation path and will cause various file access issues.

Please refer to the 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.

Related resource