Hello,
I am trying to run a Telemac2d API example, but I cannot solve this Error.
My configuration files are attached and my PYTHONPATH:
C:\opentelemac-mascaret\python27\Lib\site-packages\numpy\core
C:\opentelemac-mascaret\v8p1\builds\wing64mpi\wrap_api\lib
C:\opentelemac-mascaret\v8p1\scripts\python3
and the LD_LIBRARY_PATH is:
C:\opentelemac-mascaret\v8p1\builds\wing64mpi\wrap_api\lib
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p1\scripts\python3\telapy\api\api_module.py", line 132, in __init__
import _api
ModuleNotFoundError: No module named '_api'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\moham\OneDrive\Desktop\Trial.py", line 13, in <module>
my_problem = Telemac2d('t2d_breach.cas', lang=1, comm=MPI.COMM_WORLD)
File "C:\opentelemac-mascaret\v8p1\scripts\python3\telapy\api\t2d.py", line 57, in __init__
super(Telemac2d, self).__init__("t2d", casfile, user_fortran,
File "C:\opentelemac-mascaret\v8p1\scripts\python3\telapy\api\api_module.py", line 144, in __init__
raise TelemacException(\
utils.exceptions.TelemacException: Error: unable to load the dynamic library _api.dll
You can check the environment variable: PYTHONPATH
No module named '_api
Can someone help me, please?