Ngsolve_special_functions

I tried to install ngsolve_special_functions following your advice here and after downloading the latest version of the special functions library. I ran

cmake .. -DNGSolve_DIR=/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/ngsolve/cmake -DNetgen_DIR=/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/netgen/cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5

and all appeared to go well. But when I ran

netgen gammaln.py

I got a bunch of error messages culminating in

File “/Users/monk/Desktop/ngs-special-functions/demo/gammaln.py”, line 8, in

import ngsolve.special_functions

ModuleNotFoundError: No module named ‘ngsolve.special_functions’

Can someone help me to get Netgen to see the special functions module?

Thanks

Peter

Hi Peter,

did you install the module with
make install

there at the end it should say something:
Installing: /path/to/ngsolve_special_functions.so

this path needs to be in your PYTHONPATH for the so to be found
Best
Christopher

ah I just saw in my case the module is called
ngsolve_special_functions not ngsolve.special_functions. Does it work if you rename This in the python file?