Skip to content

Generator does not load #22

@baldursgit

Description

@baldursgit

Identical failure with both 3.0 and 3.1, and on both Blender 4.2.0 and 4.2.2

Failed to load generator: Failed to load shared library 'C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\lib\llama.dll': Could not find module 'C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\lib\llama.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Traceback (most recent call last):
File "C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\llama_cpp.py", line 75, in _load_shared_library
return ctypes.CDLL(str(lib_path),winmode=0) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\BLENDER\4.2.2\4.2\python\Lib\ctypes_init
.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\lib\llama.dll' (or one of its dependencies). Try using the full path with constructor syntax.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\BLENDER\4.2.2\portable\scripts\addons\meshgen\generator\generator.py", line 72, in load_generator
import llama_cpp
File "C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp_init_.py", line 1, in
from .llama_cpp import *
File "C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\llama_cpp.py", line 88, in
_lib = _load_shared_library(_lib_base_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\llama_cpp.py", line 77, in _load_shared_library
raise RuntimeError(f"Failed to load shared library '{_lib_path}': {e}")
RuntimeError: Failed to load shared library 'C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\lib\llama.dll': Could not find module 'C:\BLENDER\4.2.2\portable\scripts\addons\meshgen.python_dependencies\llama_cpp\lib\llama.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions