Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Numpy (from Conda) - Missing libmkl_*.so in Standalone

See original GitHub issue

OS: Ubuntu 16.04 python=3.7.3 nuitka==0.6.4 conda 4.6.14

conda install numpy import numpy as np

#use python -m nuitka --follow-imports --standalone

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

Manually copying all libmkl_*.so files resolves the issue

Related issue: 190

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

JorjMcKiecommented, Jul 23, 2019

I think the recent Nuitka versions already contains this fix (0.6.4 or 0.6.5).

JorjMcKiecommented, Jun 18, 2019

Update for my previous post:

* vanilla PIP numpy Linux and Windows (only OpenBlas shared lib is used)

* MKL libraries included in `numpy.core`

* numpy+MKL Anaconda distro for Linux and Windows

So the new numpy plugin should work in any of the known cases …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intel MKL FATAL ERROR: Cannot load or ...
The actual issue is that Anaconda linked with mkl, but not with, 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found