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
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "libsvm\svmutil.py", line 4, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "libsvm\svm.py", line 45, in
Exception: LIBSVM library not found.
The code in "libsvm\svm.py", line 45 is trying to load shared library (judging by the line number, that's probably libsvm-official with corresponding code as opposed to libsvm with corresponding code, but the only difference is the library name and placement).
PyInstaller does not collect such shared libraries automatically, so you need to ensure that it is collected (and that it is collected where the package's code expects to find it). It might be easiest to just use --add-binary but you could also try to automate the search with a custom hook.
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "libsvm\svmutil.py", line 4, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "libsvm\svm.py", line 45, in
Exception: LIBSVM library not found.
pyinstaller/pyinstaller#6725
referring to this issue. I'm also facing the same problem. Please tell me what to change.
The text was updated successfully, but these errors were encountered: