Skip to content

ImportError: uv_unwrapper not found #84

@Gilbert-os

Description

@Gilbert-os

My environment is:
OS:Ubuntu 20.04.6
CUDA Version: 12.0 (Cuda compilation tools, release 11.7, V11.7.99)
Python 3.10.16

pip list :
Image

Execute 'python gradio_mapp. py' to start the service, and the error is as follows:

WARNING:root:Could not import uv_unwrapper. Please install it via pip install uv_unwrapper/`
Traceback (most recent call last):
File "/workspace/stable-fast-3d/sf3d/models/mesh.py", line 18, in
from uv_unwrapper import uv_unwrapper
File "/root/miniforge3/envs/3d/lib/python3.10/site-packages/uv_unwrapper/init.py", line 3, in
from . import _C # noqa: F401
ImportError: /root/miniforge3/envs/3d/lib/python3.10/site-packages/uv_unwrapper/_C.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops19empty_memory_format4callEN3c108ArrayRefINS2_6SymIntEEESt8optionalINS2_10ScalarTypeEES6_INS2_6LayoutEES6_INS2_6DeviceEES6_IbES6_INS2_12MemoryFormatEE

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/workspace/stable-fast-3d/gradio_app.py", line 16, in
from sf3d.system import SF3D
File "/workspace/stable-fast-3d/sf3d/system.py", line 18, in
from sf3d.models.isosurface import MarchingTetrahedraHelper
File "/workspace/stable-fast-3d/sf3d/models/isosurface.py", line 9, in
from .mesh import Mesh
File "/workspace/stable-fast-3d/sf3d/models/mesh.py", line 26, in
raise ImportError("uv_unwrapper not found")
ImportError: uv_unwrapper not found`

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