Closed YouqiongLiu closed 8 months ago
@YouqiongLiu, pysdf is currently available only via Docker container method. Please try the docker method of install as described here: https://github.com/NVIDIA/modulus-sym?tab=readme-ov-file#container to use the STL geometry features.
Version
nvidia-modulus: 0.4.0 nvidia-modulus.sym:1.2.0
On which installation method(s) does this occur?
Pip
Describe the issue
installed the latest version of nvidia-modulus.sym is using PyPi. But, the following programs cannot be run . Error importing pysdf. Make sure 'libsdf.so' is in LD_LIBRARY_PATH and pysdf is installed
import os import warnings import torch import numpy as np from sympy import Symbol, sqrt, Max
import modulus.sym from modulus.sym.geometry.tessellation import Tessellation
Minimum reproducible example
Relevant log output
Environment details
No response
Other/Misc.
No response