Numpy MKL errors during installation
See original GitHub issueI’m trying to build numexpr 2.6.9 from source using Python 3.7.4 and numpy 1.17.0, but I get the following error message during configuration:
mkl_info:
/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/system_info.py:773: UserWarning: Specified path /Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64;/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/compiler/lib/intel64 is invalid.
return self.get_paths(self.section, key)
/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/system_info.py:782: UserWarning: Specified path /Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/include is invalid.
return self.get_paths(self.section, key)
Traceback (most recent call last):
File "setup.py", line 228, in <module>
setup_package()
File "setup.py", line 224, in setup_package
setup(**metadata)
File "/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/core.py", line 137, in setup
config = configuration()
File "setup.py", line 122, in configuration
mkl_config_data = config.get_info('mkl')
File "/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 2069, in get_info
dict_append(info_dict,**get_info(a))
File "/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/system_info.py", line 444, in get_info
return cl().get_info(notfound_action)
File "/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/system_info.py", line 690, in get_info
self.calc_info()
File "/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/system_info.py", line 1139, in calc_info
opt = self.get_option_single('mkl_libs', 'libraries')
File "/Users/Adam/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/py-numpy-1.17.0-tt562t4vqgt2jc6j4gkk5rdj6mbakig2/lib/python3.7/site-packages/numpy/distutils/system_info.py", line 659, in get_option_single
section=self.section, options='[{}]'.format(', '.join(options))))
numpy.distutils.system_info.AliasedOptionError:
Aliases entries in config files should not be existing.
In section 'mkl' we found multiple appearances of options [mkl_libs, libraries].
It seems like something might be wrong with my numpy installation, but it passed all of its unit tests. Is numexpr 2.6.9 not compatible with numpy 1.17.0? How can I debug this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
errors installing scipy and numpy mkl in windows ,python 2.7
pip install numpy-1.11.3+mkl-cp27-cp27m-win_amd64.whl. from the same directory where the wheel file exists I am getting an error like.
Read more >mkl_intel_thread Error - Support.FLIR.com
It appears that numpy is often the origin of the problem. A recommendation is therefore to uninstall and re-install it.
Read more >Installing NumPy
MKL is a separate package that will be installed in the users' environment when they install NumPy. In the conda-forge channel, NumPy is...
Read more >Link error when building numpy with MKL on Windows
I have Intel Parallel Studio XE 2017 installed including MKL, icl and ifort. The version of numpy is the latest one because I've...
Read more >Workaround when IDL to python bridge is crashing due to ...
The IDL to python bridge is crashing IDL with the below error ... Possible workaround: it consists in removing MKL package from the...
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 added
site.cfgto theMANIFEST.infile, which then builds an sdist without the offending file, in 8ea8c7406c85c2e794cc0bafd180f0edcf0d690d. Sorry about that, I had no idea I was uploading my ownsite.cfg. I’ll start prepping for a 2.7.0 release.It looks like it picks up my own
site.cfgthen, even though it is in.gitignore. We are well past time for a new release, so let me look into excluding it viasetuptools.