Skip to content

Failed to execute script due to unhandled exception: #1

@Crosshairs2

Description

@Crosshairs2

Traceback (most recent call last):
File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in init
File "ctypes_init_.py", line 376, in init
FileNotFoundError: Could not find module 'C:\Users\natha\AppData\Local\Temp_MEI222322\llama_cpp\lib\llama.dll' (or one of its dependencies). Try using the full path with constructor syntax.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "llama_cpp_ctypes_extensions.py", line 67, in load_shared_library
File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in init
pyimod03_ctypes.install..PyInstallerImportError: Failed to load dynlib/dll 'C:\Users\natha\AppData\Local\Temp\_MEI222322\llama_cpp\lib\llama.dll'. Most likely this dynlib/dll was not found when the application was frozen.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "MineCrash.py", line 11, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 457, in exec_module
File "llama_cpp_init
.py", line 1, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 457, in exec_module
File "llama_cpp\llama_cpp.py", line 38, in
File "llama_cpp_ctypes_extensions.py", line 69, in load_shared_library
RuntimeError: Failed to load shared library 'C:\Users\natha\AppData\Local\Temp_MEI222322\llama_cpp\lib\llama.dll': Failed to load dynlib/dll 'C:\Users\natha\AppData\Local\Temp\_MEI222322\llama_cpp\lib\llama.dll'. Most likely this dynlib/dll was not found when the application was frozen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions