Hello. I've got some problem with test right after installation. The output is 
as below :
Please have a look and point out where the problem lies. 
Thank you.


Python 2.6 (r26:66721, Oct  2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sklearn
>>> sklearn.test()
Running unit tests and doctests for sklearn
NumPy version 1.6.2
NumPy is installed in C:\Python26\lib\site-packages\numpy
Python version 2.6 (r26:66721, Oct  2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)
]
nose version 1.1.2
.................................................C:\Python26\lib\site-packages\s
klearn\cluster\spectral.py:77: UserWarning: pyamg not available, using scipy.spa
rse
  warnings.warn('pyamg not available, using scipy.sparse')
.S.....................EE..SS.S..................................C:\Python26\lib
\site-packages\sklearn\decomposition\dict_learning.py:495: UserWarning: Please n
ote: the interface of sparse_encode has changed: It now follows the dictionary l
earning API and it also handles parallelization. Please read the docstring for m
ore information.
  init=code, n_jobs=n_jobs)
..C:\Python26\lib\site-packages\sklearn\decomposition\dict_learning.py:739: User
Warning: Please note: the interface of sparse_encode has changed: It now follows
 the dictionary learning API and it also handles parallelization. Please read th
e docstring for more information.
  alpha=self.transform_alpha, n_jobs=self.n_jobs)
...C:\Python26\lib\site-packages\sklearn\decomposition\dict_learning.py:661: Use
rWarning: Please note: the interface of sparse_encode has changed: It now follow
s the dictionary learning API and it also handles parallelization. Please read t
he docstring for more information.
  alpha=alpha).T
C:\Python26\lib\site-packages\sklearn\decomposition\dict_learning.py:691: UserWa
rning: Please note: the interface of sparse_encode has changed: It now follows t
he dictionary learning API and it also handles parallelization. Please read the
docstring for more information.
  n_jobs=n_jobs)
....SC:\Python26\lib\site-packages\sklearn\decomposition\tests\test_dict_learnin
g.py:124: UserWarning: Please note: the interface of sparse_encode has changed:
It now follows the dictionary learning API and it also handles parallelization.
Please read the docstring for more information.
  code = sparse_encode(X, V, algorithm=algo)
.C:\Python26\lib\site-packages\sklearn\decomposition\tests\test_dict_learning.py
:132: UserWarning: Please note: the interface of sparse_encode has changed: It n
ow follows the dictionary learning API and it also handles parallelization. Plea
se read the docstring for more information.
  code = sparse_encode(X, V, alpha=0.001)
...................C:\Python26\lib\site-packages\sklearn\decomposition\nmf.py:23
7: UserWarning: Iteration limit reached in nls subproblem.
  warnings.warn("Iteration limit reached in nls subproblem.")
...........................C:\Python26\lib\site-packages\sklearn\externals\jobli
b\parallel.py:124: UserWarning: Please note: the interface of sparse_encode has
changed: It now follows the dictionary learning API and it also handles parallel
ization. Please read the docstring for more information.
  self.results = func(*args, **kwargs)
.....SEE................................................C:\Python26\lib\site-pac
kages\sklearn\externals\joblib\test\test_func_inspect.py:122: UserWarning: Canno
t inspect object <functools.partial object at 0x037903C0>, ignore list will not
work.
  nose.tools.assert_equal(filter_args(ff, ['y'], (1, )),
...F............................................................................
......F.._______________________________________________________________________
_________
test_memory setup
________________________________________________________________________________

________________________________________________________________________________

test_memory teardown
________________________________________________________________________________

..______________________________________________________________________________
__
test_memory setup
________________________________________________________________________________

................................................................................
..........................................______________________________________
__________________________________________
test_memory teardown
________________________________________________________________________________

._______________________________________________________________________________
_
setup numpy_pickle
________________________________________________________________________________

.....................................Exception AttributeError: AttributeError("'
NoneType' object has no attribute 'tell'",) in <bound method memmap.__del__ of m
emmap(1.6975966363294905e-313)> ignored
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'te
ll'",) in <bound method memmap.__del__ of memmap(1.697596636724743e-313)> ignore
d
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'te
ll'",) in <bound method memmap.__del__ of memmap(1.697596636724743e-313)> ignore
d
C:\Python26\lib\site-packages\sklearn\externals\joblib\test\test_numpy_pickle.py
:182: Warning: file "c:\users\chinaboy\appdata\local\temp\tmp9bx52s\test.pkl338"
 appears to be a zip, ignoring mmap_mode "r" flag passed
  numpy_pickle.load(this_filename, mmap_mode='r')
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'te
ll'",) in <bound method memmap.__del__ of memmap(1.6975966363294905e-313)> ignor
ed
.....___________________________________________________________________________
_____
teardown numpy_pickle
________________________________________________________________________________

.........C:\Python26\lib\site-packages\sklearn\externals\joblib\my_exceptions.py
:38: DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
  self.message = message
C:\Python26\lib\site-packages\sklearn\externals\joblib\my_exceptions.py:43: Depr
ecationWarning: BaseException.message has been deprecated as of Python 2.6
  return self.__class__, (self.message, self.etype), {}
C:\Python26\lib\site-packages\sklearn\externals\joblib\my_exceptions.py:38: Depr
ecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
C:\Python26\lib\site-packages\sklearn\externals\joblib\my_exceptions.py:43: Depr
ecationWarning: BaseException.message has been deprecated as of Python 2.6
  return self.__class__, (self.message, self.etype), {}
...An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (42, 0))

C:\Python26\lib\site-packages\sklearn\externals\joblib\my_exceptions.py:38: Depr
ecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
C:\Python26\lib\site-packages\sklearn\externals\joblib\my_exceptions.py:43: Depr
ecationWarning: BaseException.message has been deprecated as of Python 2.6
  return self.__class__, (self.message, self.etype), {}
................................................................................
..........EE.............S......................................................
................................................................................
................................................................................
................................................................................
.............................................................EEE................
................................................................................
.......SSS....S....S............................................................
........................EE
======================================================================
ERROR: Doctest: sklearn.datasets.base.load_sample_image
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.datasets.base.load_sample_images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingClassifier
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.ensemble.gradient_boosting.GradientBoostingRegressor
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLasso
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.linear_model.randomized_l1.RandomizedLogisticRegression
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.tree.tree.DecisionTreeClassifier
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.tree.tree.DecisionTreeRegressor
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.tree.tree.export_graphviz
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.NoseTester.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
ERROR: Doctest: sklearn.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\plugins\doctests
.py", line 395, in tearDown
    delattr(builtin_mod, self._result_var)
AttributeError: _

======================================================================
FAIL: Check that func_inspect is robust and will work on weird objects
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\case.py", line 1
97, in runTest
    self.test(*self.arg)
  File "C:\Python26\Lib\site-packages\sklearn\externals\joblib\test\test_func_in
spect.py", line 141, in test_func_inspect_errors
    __file__.replace('.pyc', '.py'))
AssertionError: 'C:\\Python26\\Lib\\site-packages\\sklearn\\externals\\joblib\\t
est\\test_func_inspect.py' != 'C:\\Python26\\lib\\site-packages\\sklearn\\extern
als\\joblib\\test\\test_func_inspect.py'

======================================================================
FAIL: Check the performance of hashing numpy arrays:
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.1.2-py2.6.egg\nose\case.py", line 1
97, in runTest
    self.test(*self.arg)
AssertionError

----------------------------------------------------------------------
Ran 1160 tests in 81.884s

FAILED (SKIP=12, errors=11, failures=2)

<nose.result.TextTestResult run=1160 errors=11 failures=2>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to