<p dir="auto">Hi all,</p>
<p dir="auto">I've been trying to install scikit-learn on my GNU/Linux machine. I downloaded the tarball of the 0.14.1 source code and was able to complete "python setup.py build" and "python setup.py install" ok (well, they looked to complete ok!). However, as I go through the build tests, I get the following errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
ERROR: sklearn.cluster.bicluster.tests.test_utils.test_get_submatrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py&quot;, line 197, in runTest
    self.test(*self.arg)
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/site-packages/sklearn/cluster/bicluster/tests/test_utils.py&quot;, line 43, in test_get_submatrix
    assert_true(np.all(X != -1))
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/unittest/case.py&quot;, line 418, in assertTrue
    if not expr:
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/site-packages/scipy/sparse/base.py&quot;, line 183, in __bool__
    raise ValueError(&quot;The truth value of an array with more than one &quot;
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().

======================================================================
ERROR: sklearn.datasets.tests.test_samples_generator.test_make_low_rank_matrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py&quot;, line 197, in runTest
    self.test(*self.arg)
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/site-packages/sklearn/datasets/tests/test_samples_generator.py&quot;, line 156, in test_make_low_rank_matrix
    u, s, v = svd(X)
  File &quot;/home/cosmos/library/python2.7/lib/python2.7/site-packages/numpy/linalg/linalg.py&quot;, line 1327, in svd
    u, s, vt = gufunc(a, signature=signature, extobj=extobj)
ValueError: On entry to DGESDD parameter number 12 had an illegal value

----------------------------------------------------------------------
Ran 1720 tests in 122.754s

FAILED (SKIP=14, errors=2)"><pre class="notranslate"><code class="notranslate">======================================================================
ERROR: sklearn.cluster.bicluster.tests.test_utils.test_get_submatrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cosmos/library/python2.7/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/cosmos/library/python2.7/lib/python2.7/site-packages/sklearn/cluster/bicluster/tests/test_utils.py", line 43, in test_get_submatrix
    assert_true(np.all(X != -1))
  File "/home/cosmos/library/python2.7/lib/python2.7/unittest/case.py", line 418, in assertTrue
    if not expr:
  File "/home/cosmos/library/python2.7/lib/python2.7/site-packages/scipy/sparse/base.py", line 183, in __bool__
    raise ValueError("The truth value of an array with more than one "
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().

======================================================================
ERROR: sklearn.datasets.tests.test_samples_generator.test_make_low_rank_matrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cosmos/library/python2.7/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/cosmos/library/python2.7/lib/python2.7/site-packages/sklearn/datasets/tests/test_samples_generator.py", line 156, in test_make_low_rank_matrix
    u, s, v = svd(X)
  File "/home/cosmos/library/python2.7/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 1327, in svd
    u, s, vt = gufunc(a, signature=signature, extobj=extobj)
ValueError: On entry to DGESDD parameter number 12 had an illegal value

----------------------------------------------------------------------
Ran 1720 tests in 122.754s

FAILED (SKIP=14, errors=2)
</code></pre></div>
<p dir="auto">Can anybody help? Any suggestions?</p>
<p dir="auto">Thanks!</p>
<p dir="auto">Hello.<br>
I am trying to install scikit on MacBook Pro Lion 10.7. However, the test fails with this message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="======================================================================
ERROR: sklearn.cluster.bicluster.tests.test_utils.test_get_submatrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py&quot;, line 197, in runTest
    self.test(*self.arg)
  File &quot;/Library/Python/2.7/site-packages/sklearn/cluster/bicluster/tests/test_utils.py&quot;, line 43, in test_get_submatrix
    assert_true(np.all(X != -1))
  File &quot;/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py&quot;, line 422, in assertTrue
    if not expr:
  File &quot;/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/base.py&quot;, line 183, in __bool__
    raise ValueError(&quot;The truth value of an array with more than one &quot;
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().

----------------------------------------------------------------------
Ran 1720 tests in 104.398s

FAILED (SKIP=15, errors=1)"><pre class="notranslate"><code class="notranslate">======================================================================
ERROR: sklearn.cluster.bicluster.tests.test_utils.test_get_submatrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Library/Python/2.7/site-packages/sklearn/cluster/bicluster/tests/test_utils.py", line 43, in test_get_submatrix
    assert_true(np.all(X != -1))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 422, in assertTrue
    if not expr:
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/base.py", line 183, in __bool__
    raise ValueError("The truth value of an array with more than one "
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().

----------------------------------------------------------------------
Ran 1720 tests in 104.398s

FAILED (SKIP=15, errors=1)
</code></pre></div>
<p dir="auto">How can I fix the issue?</p>
<p dir="auto">Regards.</p>