thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.72k stars 159 forks source link

Does this require manual installation ? #230

Open simonmcnair opened 1 year ago

simonmcnair commented 1 year ago

This did not work until I installed

apt-get install libglfw3-dev libgles2-mesa-dev

WARNING: Could not load OpenGL library.
Error loading script: depthmap.py
Traceback (most recent call last):
  File "/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/depthmap.py", line 58, in <module>
    from inpaint.mesh import write_mesh, read_mesh, output_3d_photo
  File "/stable-diffusion-webui/extensions/stable-diffusion-webui-depthmap-script/scripts/inpaint/mesh.py", line 12, in <module>
    from vispy import scene, io
  File "/usr/local/lib/python3.10/site-packages/vispy/scene/__init__.py", line 33, in <module>
    from .visuals import *  # noqa
  File "/usr/local/lib/python3.10/site-packages/vispy/scene/visuals.py", line 18, in <module>
    from .. import visuals
  File "/usr/local/lib/python3.10/site-packages/vispy/visuals/__init__.py", line 14, in <module>
    from .axis import AxisVisual  # noqa
  File "/usr/local/lib/python3.10/site-packages/vispy/visuals/axis.py", line 11, in <module>
    from .visual import CompoundVisual, updating_property
  File "/usr/local/lib/python3.10/site-packages/vispy/visuals/visual.py", line 91, in <module>
    from .. import gloo
  File "/usr/local/lib/python3.10/site-packages/vispy/gloo/__init__.py", line 47, in <module>
    from . import gl  # noqa
  File "/usr/local/lib/python3.10/site-packages/vispy/gloo/gl/__init__.py", line 230, in <module>
    from . import es2 as default_backend  # noqa
  File "/usr/local/lib/python3.10/site-packages/vispy/gloo/gl/es2.py", line 48, in <module>
    raise OSError('GL ES 2.0 library not found')
OSError: GL ES 2.0 library not found