Reputation: 659
Anaconda Python distribution uses NumPy (and related packages) compiled against Intel-MKL lib, not "standard" NumPy. How can I use Anaconda with "standard" NumPy on a specific conda env? Using another Python distribution unfortunately is not an option at the moment. If relevant: I'm using Windows and Python 3.6.
Upvotes: 8
Views: 6059
Reputation: 19617
There is a nomkl
"meta-package" that installs packages without the MKL dependence. Simply install that package when you create the environment.
$ conda create -n nomkl python=3 numpy nomkl
Fetching package metadata .................
Solving package specifications: .
Package plan for installation in environment /Users/user/miniconda3/envs/nomkl:
The following NEW packages will be INSTALLED:
ca-certificates: 2017.08.26-ha1e5d58_0
certifi: 2017.11.5-py36ha569be9_0
libcxx: 4.0.1-h579ed51_0
libcxxabi: 4.0.1-hebd6815_0
libedit: 3.1-hb4e282d_0
libffi: 3.2.1-h475c297_4
libgfortran: 3.0.1-h93005f0_2
libopenblas: 0.2.20-h6c53463_3
ncurses: 6.0-hd04f020_2
nomkl: 1.0-0
numpy: 1.13.3-py36_nomklh439e68b_0 [nomkl]
openssl: 1.0.2n-hdbc3d79_0
pip: 9.0.1-py36h1555ced_4
python: 3.6.3-h47c878a_7
readline: 7.0-hc1231fa_4
setuptools: 36.5.0-py36h2134326_0
sqlite: 3.20.1-h7e4c145_2
tk: 8.6.7-h35a86e2_3
wheel: 0.30.0-py36h5eb2c71_1
xz: 5.2.3-h0278029_2
zlib: 1.2.11-hf3cbc9b_2
Upvotes: 1