Dear Stéphane, The last compilation of Getfem (Getfem 5.4) under Windows requires imperatively Python 3.7 . If you have downloaded the latest Anaconda, you may have a newer version of Python (3.8 ?) with which the compiled library will not work. I suggest downgrading your Python version to 3.7 in order to use the exe available on the website.
Best regards Jean-François Barthélémy Le mar. 13 oct. 2020 à 10:52, Stéphane Pagano <[email protected]> a écrit : > Bonjour, > > J’essayé d’installer getfem sou Windows. Pour cela j’ai installé Anaconda > 3. Puis j’ai exécuté le .exe trouvé sur le site. > > En faisant import getfem j’obtiens : > > > > >>> import getfem > > Traceback (most recent call last): > > File > "C:\Users\Stephane\AppData\Local\Python\Lib\site-packages\getfem\getfem.py", > line 45, in <module> > > from ._getfem import * > > ImportError: attempted relative import with no known parent package > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File > "C:\Users\Stephane\AppData\Local\Python\Lib\site-packages\getfem\getfem.py", > line 47, in <module> > > from _getfem import * > > ImportError: DLL load failed while importing _getfem: Le module spécifié > est introuvable. > > > > Savez vous ce qu’il faut faire ? > > Merci d’avance, > > Bien cordialement, > > Stéphane Pagano > > > > > > Provenance : Courrier <https://go.microsoft.com/fwlink/?LinkId=550986> > pour Windows 10 > > >
