cant load depth map script #365
Unanswered
widget2k13
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Borked venv, try creating another venv. Or try reinstalling Quartz. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Having the same problem. Deleting/reinstalling doesn't work. After much spelunking I found that the root issue is from this: Here is a hacky workaround if you want to edit 1 line of code to get it working: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, this is the first time ive used stable diffusion and want to get the depth map working but getting an error, is there anyone that could point me into the right direction please, i am a total newbie *** Error loading script: depthmap_api.py
Traceback (most recent call last):
File "/Users/keithcowell/stable-diffusion-webui/modules/scripts.py", line 382, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/Users/keithcowell/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/keithcowell/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap_api.py", line 15, in
from src.core import core_generation_funnel
File "/Users/keithcowell/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/src/core.py", line 30, in
from inpaint.mesh import write_mesh, read_mesh, output_3d_photo
File "/Users/keithcowell/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/inpaint/mesh.py", line 12, in
from vispy import scene, io
File "/Users/keithcowell/stable-diffusion-webui/venv/lib/python3.10/site-packages/vispy/init.py", line 27, in
from .util import config, set_log_level, keys, sys_info # noqa
File "/Users/keithcowell/stable-diffusion-webui/venv/lib/python3.10/site-packages/vispy/util/init.py", line 14, in
from . import fonts # noqa
File "/Users/keithcowell/stable-diffusion-webui/venv/lib/python3.10/site-packages/vispy/util/fonts/init.py", line 13, in
from ._triage import _load_glyph, list_fonts # noqa, analysis:ignore
File "/Users/keithcowell/stable-diffusion-webui/venv/lib/python3.10/site-packages/vispy/util/fonts/_triage.py", line 14, in
from ._quartz import _load_glyph, _list_fonts
File "/Users/keithcowell/stable-diffusion-webui/venv/lib/python3.10/site-packages/vispy/util/fonts/_quartz.py", line 12, in
from ...ext.cocoapy import cf, ct, quartz, CFRange, CFSTR, CGGlyph, UniChar,
File "/Users/keithcowell/stable-diffusion-webui/venv/lib/python3.10/site-packages/vispy/ext/cocoapy.py", line 1288, in
quartz = cdll.LoadLibrary(util.find_library('quartz'))
File "/usr/local/Cellar/python@3.10/3.10.13/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ctypes/init.py", line 452, in LoadLibrary
return self._dlltype(name)
File "/usr/local/Cellar/python@3.10/3.10.13/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(Quartz.framework/Quartz, 0x0006): tried: 'Quartz.framework/Quartz' (no such file), '/System/Volumes/Preboot/Cryptexes/OSQuartz.framework/Quartz' (no such file), '/usr/local/lib/Quartz.framework/Quartz' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/Quartz.framework/Quartz' (no such file), '/usr/lib/Quartz.framework/Quartz' (no such file, not in dyld cache), 'Quartz.framework/Quartz' (no such file)
Beta Was this translation helpful? Give feedback.
All reactions