huggingface / huggingface/meshgen

Generator does not load

Open
#22 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
919
Forks
77
Avg merge
34m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.