I am trying to import datasets from a sklearn package using the following code
from sklearn import datasets
I get an error log
Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import sklearn File "C:\Python34\lib\site-packages\sklearn\__init__.py", line 59, in <module> from .base import clone File "C:\Python34\lib\site-packages\sklearn\base.py", line 10, in <module> from scipy import sparse File "C:\Python34\lib\site-packages\scipy\sparse\__init__.py", line 213, in <module> from .csr import * File "C:\Python34\lib\site-packages\scipy\sparse\csr.py", line 13, in <module> from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \ ImportError: DLL load failed: The specified module could not be found.
I installed the following modules:
- NumPy-1.9.2 + -CP34 MKL-no-win32.whl
- scikit_learn-0.16.1-CP34-no-win32.whl
- SciPy-0.16.0-CP34-no-win32.whl
from http://www.lfd.uci.edu/~gohlke/pythonlibs/
How to solve this problem? I am using python 3.4. Please, help.
source share