Hi I managed to install pysdf in the bare metal installation using the provided egg file via easy_install. Here are the steps
-
downgrade setuptools (
pip3 install setuptools==42.0.0
) sinceeasy_install
command is not exposed in the latest setuptools versions. see ref. -
install the provided egg file
cd path_to_modulus_source_code/modulus/external/eggs
python3 -m easy_install pysdf-0.1-py3.8-linux-x86_64.egg
-
you can make sure the installation is successful by checking
pip3 list
. You can also upgrade setuptools back to the latest version. -
add
libsdf.so
to your LD_LIBRARY_PATH
then you can successfully run aneurysm.py
without changing the source code.