Hello all,
I am trying to use the Telemac API within the Spyder environment on Windows. I installed Telemac on my laptop using the automatic installer.
The Postel scripts worked, after I included "C:\TELEMAC\V8P4\external\python-3.10.9" in my PYTHONPATH.
Then I moved on to the telemac2d_example. I first got the following error when creating the Telemac object:
"TelemacException: Error: unable to load the dynamic library _api.dll
You can check the environment variable: PYTHONPATH
No module named '_api'"
I found the dynamic library in "C:\TELEMAC\V8P4\builds\gnu.static\wrap_api\lib", so I also added this to my PYTHONPATH.
I attached the error, it fails in telemac_dico.py. I also attached my python script.
I am grateful for any guidance, maybe there might something fundamental that I am missing, since I just recently started using python again.
Kind regards
Frederik