Pysdf problem

Hi, I want to use the STL geometry support, but I got the error:
“ModuleNotFoundError: No module named ‘pysdf.sdf’; ‘pysdf’ is not a package”
It is said that “Make sure ‘’ is in LD_LIBRARY_PATH and pysdf is installed”
I have installed the pysdf and I can import pysdf. But I cannot find the position of
How can I put the ‘’ into the LD_LIBRARY_PATH?

I am using the docker with driver version of 525.116.04 and CUDA version of 12.0. BTW, I also want to know how to get the version of the modulus I am using.

Thank you!

Hi @zhangzhenthu

This is inside the docker container? Which version?

PySDF is only available/supported inside the Modulus docker container.

You can get the version of modulus packages using (e.g. modulus core)

>>> import modulus
>>> modulus.__version__

Hello !
I am experiencing the same issue. However I am not using the docker image, but have installed the pip package. Are you saying that PySDF only works on the docker image and therefore that it is not supported in the pip package? Is there a way to import .STL geometries when using the pip installation of modulus sym?
Thanks in advance,

the same issue,and installed the pip package.
Error importing pysdf. Make sure ‘’ is in LD_LIBRARY_PATH and pysdf is installed

I have installed nvidia-modulus: 0.4.0 and the latest version of nvidia-modulus.sym is using PyPi.
But, the following programs cannot be run . Error importing pysdf. Make sure ‘’ is in LD_LIBRARY_PATH and pysdf is installed.
How can I solve this problem?

import modulus.sym
from modulus.sym.geometry.tessellation import Tessellation

I have switched to using the docker image instead and there the .stl import works. The Tesselation module is apparently not working in the pip package.