Hi,
I've tried to install Scikits-Learn both from sources and using easy_install on
a Mac OS X 10.6.8 system, however the installation seems to be broken as when I
load the sklearn module in Python, the sklearn.cluster and other core modules
are not available.
When running the test routine, sklearn.test() the test procedure produces an
exception with the output listed below, are there any particular steps to the
installation on a Mac, other than the ones listes in the project's website.
Thank's in advance for the support.
Regards,
Hugo
setup numpy_pickle
________________________________________________________________________________
.....................................Exception AttributeError:
AttributeError("'NoneType' object has no attribute 'tell'",) in <bound method
memmap.__del__ of memmap(1.5e-323)> ignored
Exception AttributeError: AttributeError("'NoneType' object has no attribute
'tell'",) in <bound method memmap.__del__ of memmap(1.5e-323)> ignored
Exception AttributeError: AttributeError("'NoneType' object has no attribute
'tell'",) in <bound method memmap.__del__ of memmap(1.5e-323)> ignored
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scikit_learn-0.10-py2.7-macosx-10.6-intel.egg/sklearn/externals/joblib/test/test_numpy_pickle.py:179:
Warning: file
"/var/folders/bF/bFAV1CtXGqWadLXrHkrQVk+++TI/-Tmp-/tmpReSj2S/test.pkl437"
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
'tell'",) in <bound method memmap.__del__ of memmap(1.5e-323)> ignored
....________________________________________________________________________________
teardown numpy_pickle
________________________________________________________________________________
............An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (38, 0))
.........................................................................................S.........................................................................................................................................................................................................FEFEFE............................................................................EEE...................................................................................................................................................................EE
======================================================================
ERROR: Doctest: sklearn.datasets.base.load_sample_images
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose-1.1.2-py2.7.egg/nose/plugins/doctests.py",
line 395, in tearDown
delattr(builtin_mod, self._result_var)
AttributeError: _
======================================================================
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (47, 0))
------------------------------------------------------------------------------
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