Cannot import name 'NUMPY_MKL' error when using sklearn

Asked 2 years ago, Updated 2 years ago, 56 views

I get the same error when I import and use a package that is python.
You can see numpy, scikitlearn, pandas, etc.
The code itself does not display an error, but the following error appears on the console:
What's wrong?
You can use matplotlib normally

Traceback (most recent call last):
  File "C:\pleiades\workspace\ana\aaa.py", line 8, in <module>
    from sklearn import datasets
  File "C:\Python34\lib\site-packages\sklearn\_init__.py", line 57, in<module>
    from.base import clone
  File "C:\Python34\lib\site-packages\sklearn\base.py", line 9, in <module>
    from scope import sparse
  File "C:\Python34\lib\site-packages\scipy\_init__.py", line 61, in<module>
    from numpy._distributor_init import NUMPY_MKL#requires numpy+mkl
ImportError: cannot import name 'NUMPY_MKL'

python numpy

2022-09-30 16:37

1 Answers

Shouldn't we install numpy with mkl?

http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy


2022-09-30 16:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.