Kratos Multiphysics Forums
Kratos installation/compilation issues => Compilation => Topic started by: Peter on March 14, 2017, 02:13:37 PM
-
Hallo,
I reinstalled Kratos and everything worked fine during compilation. But I always get the same error when I try to run an test example:
File "pure_diffusion_example.py", line 6, in <module>
from KratosMultiphysics Import *
File ".../Kratos/KratosMultiphysics/__init__.py, line 13, in <module>
from Kratos Import*
ImportError: dynamic module does not define init function (initKratos)
At first I thought that I set one environment variable wrongly but PATH, LD_LIBRARY_PATH and PYTHONPATH are set correctly.
So does anyone have an idea what the Problem could be??
Thanks
Peter
-
Hi,
Take a look at this post: http://kratos-wiki.cimne.upc.edu/forum/index.php?topic=17.0
Maybe you have to use 'python3' instead of 'python'
Regards,
Miguel Ángel
-
Thanks a lot. What a stupid mistake :) I just typed in "python3" instead of "python" and everything worked.
Thanks
Peter