Cantera Python error
Hi all,
I am running AMD system on UBUNTU 20.2 and I faced the following error after successfully installing Cantera via Conda Code:
import cantera File "<stdin>", line 1, in <module> File "/home/priyesh/anaconda3/envs/ct-env/lib/python3.9/site-packages/cantera/__init__.py", line 4, in <module> from ._cantera import * ImportError: libmkl_rt.so.2: cannot open shared object file: No such file or directory I solved this issue by going to the cantera source code and changing "libmkl_rt.so.1" to "libmkl_rt.so.2" I hope this helps. |
Where did you find the libmkl_rt.so? I have not been able to locate it...
|
I think you will have to find the installed dir, for me I installed it through Conda, so the installed directory was in the conda environment. The error will also throw the path at which the directory is missing, go to that path and search for "libmkl" only and not the complete thing (because the file name might have numbers at the end).
Hope this helps |
Quote:
|
All times are GMT -4. The time now is 16:30. |