Numpy (from Conda) - Missing libmkl_*.so in Standalone
See original GitHub issueOS: Ubuntu 16.04 python=3.7.3 nuitka==0.6.4 conda 4.6.14
conda install numpy
#main.py
import numpy as np
#use
python -m nuitka --follow-imports --standalone main.py
Things I tried:
--plugin-enable=numpy
--include-plugin-directory=/home/user/anaconda3/envs/env/lib
Error when running the standalone:
Intel MKL FATAL ERROR: Cannot load libmkl_core.so.
Manually copying all libmkl_*.so
files resolves the issue
Related issue: 190
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or ...
The actual issue is that Anaconda linked with mkl, but not with libmkl_core.so, thus it has a missing symbol, and can be seen...
Read more >Installing scikit-learn
There are different ways to install scikit-learn: Install the latest official release. This is the best approach for most users. It will provide...
Read more >Installation — Numba 0.50.1 documentation
To enable ROCm support in Numba, conda is required, so begin with an Anaconda or Miniconda installation with Numba 0.40 or later installed....
Read more >Intel MKL FATAL ERROR: Cannot load libmkl_core.dylib
I am new and just installed pytorch via anaconda. ... It seems youre missing the intel core math libraries from what I gather....
Read more >Conda: Myths and Misconceptions - Pythonic Perambulations
So why would the creators of conda muddy the field by introducing a ... test_conda/bin/activate $ pip install conda $ conda install numpy....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think the recent Nuitka versions already contains this fix (0.6.4 or 0.6.5).
Update for my previous post:
So the new
numpy
plugin should work in any of the known cases …