Error importing Sklearn module

Source: Internet
Author: User

Import Sklearn

Error:

Traceback (most recent):

File "<pyshell#1>", line 1, in <module>
Import Sklearn
File "D:\Python27\lib\site-packages\scikit_learn-0.15.2-py2.7-win-amd64.egg\sklearn\__init__.py", line Notoginseng, in < Module>
From. Import __check_build
Importerror:cannot Import Name __check_build

From Sklearn import datasets

Error:
Traceback (most recent):
File "<pyshell#0>", line 1, in <module>
From Sklearn import datasets
File "D:\Python27\lib\site-packages\scikit_learn-0.15.2-py2.7-win-amd64.egg\sklearn\__init__.py", line A, in < Module>
From. Base Import Clone
File "D:\Python27\lib\site-packages\scikit_learn-0.15.2-py2.7-win-amd64.egg\sklearn\base.py", line ten, in < Module>
From scipy Import Sparse
File "D:\Python27\lib\site-packages\scipy\sparse\__init__.py", line 182, in <module>
From. CSR Import *
File "D:\Python27\lib\site-packages\scipy\sparse\csr.py", line <module>
From. Sparsetools import CSR_TOCSC, CSR_TOBSR, csr_count_blocks, \
File "D:\Python27\lib\site-packages\scipy\sparse\sparsetools\__init__.py", line 5, <module>
From. CSR Import *
File "D:\Python27\lib\site-packages\scipy\sparse\sparsetools\csr.py", line +, in <module>
_CSR = Swig_import_helper ()
File "D:\Python27\lib\site-packages\scipy\sparse\sparsetools\csr.py", line A, in Swig_import_helper
_mod = Imp.load_module (' _CSR ', FP, pathname, description)
Importerror:dll load failed:%1 is not a valid WIN32 application.

Error importing Sklearn module

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.