I am trying to import datasets from sklearn package using following code
from sklearn import datasets
I get the 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 have installed the following modules:
- numpy-1.9.2+mkl-cp34-none-win32.whl
- scikit_learn-0.16.1-cp34-none-win32.whl
- scipy-0.16.0-cp34-none-win32.whl
from http://www.lfd.uci.edu/~gohlke/pythonlibs/
How do i resolve this issue? I am using python 3.4. Please help.