Background:
Using mac 10.15, I just installed python, conda and julia.
I then used conda to install numpy and installed julia PyCall pointing ENV["PYTHON"] to the conda executable (out put of sys.executable in python and the desired conda enviorment).
I have a python library "mylib" that uses numpy
Problem
When I tried to
pyimport("mylib")
I got
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib.
which I discovered is due to a conflict between 64bit MKL library julia uses and the 32bit MKL library python uses:
https://www.reddit.com/r/Julia/comments/jj7ubh/pycall_intel_mkl_error/
https://github.com/JuliaPy/PyCall.jl/issues/443
The solutions given in the julia forms suggest recompiling julia with a changed flag. This seems unnecessary painful, is there another option?