<div dir="ltr">Well, but the <a href="https://ci.appveyor.com/project/agramfort/scikit-learn/build/1.0.505" target="_blank">tests failed on CI</a> of my <a href="https://github.com/scikit-learn/scikit-learn/pull/6913" target="_blank">PR</a> passed on my local 32 bit scikit-learn.<br>Do this mean that the problem exists on the Windows? (I assumed appveyor is running Window because of <span style="color:rgb(255,255,255);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,serif;font-size:12.8px;line-height:16px;white-space:pre-wrap;background-color:rgb(13,49,99)">C:\</span> in the console)<div><br>Sorry if this is a nonsense assumption.<br><br>Best,</div><div>Yen-Chen</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-21 0:25 GMT+08:00 lin yenchen <span dir="ltr"><<a href="mailto:yenchenlin1994@gmail.com" target="_blank">yenchenlin1994@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for you guys' precious inputs.<br><br>I've successfully built a 32-bit python version scikit-learn and check it by printing `sys.maxint`,<div>and all the tests passed on my mac. (I'm running the newest dev version though)<br><br>Best,<div>Yen-Chen<br><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-07-21 0:00 GMT+08:00 Matthew Brett <span dir="ltr"><<a href="mailto:matthew.brett@gmail.com" target="_blank">matthew.brett@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, Jul 20, 2016 at 9:16 AM, Matthew Brett <<a href="mailto:matthew.brett@gmail.com" target="_blank">matthew.brett@gmail.com</a>> wrote:<br>
> On Wed, Jul 20, 2016 at 9:09 AM, Olivier Grisel<br>
> <<a href="mailto:olivier.grisel@ensta.org" target="_blank">olivier.grisel@ensta.org</a>> wrote:<br>
>>> I believe this `arch -i386`  only works as a prefix for Python.org Python, but I'm happy to be corrected.<br>
>><br>
>> Then the following should work:<br>
>><br>
>> arch -i386 python -c "import nose; nose.main()" sklearn<br>
><br>
> Sorry - I should have been clear - this does work in selecting 32-bit<br>
> for the tests, using a nosetests installed into a Python.org Python<br>
> environment:<br>
><br>
> arch -i386 nosetests sklearn<br>
<br>
</span>Actually, I took the liberty of adding the OSX 32-bit tests to the<br>
wheel build tests, and scikit-learn 0.17.1 has one failure on 32-bit<br>
OSX:<br>
<br>
<a href="https://travis-ci.org/MacPython/scikit-learn-wheels/jobs/146127267#L11761" rel="noreferrer" target="_blank">https://travis-ci.org/MacPython/scikit-learn-wheels/jobs/146127267#L11761</a><br>
<br>
```<br>
<br>
======================================================================<br>
ERROR: sklearn.tree.tests.test_tree.test_huge_allocations<br>
----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>
  File "/Users/travis/build/MacPython/scikit-learn-wheels/venv/lib/python3.5/site-packages/nose/case.py",<br>
line 198, in runTest<br>
    self.test(*self.arg)<br>
  File "/Users/travis/build/MacPython/scikit-learn-wheels/venv/lib/python3.5/site-packages/sklearn/tree/tests/test_tree.py",<br>
line 1032, in test_huge_allocations<br>
    assert_raises(MemoryError, clf.fit, X, y)<br>
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py",<br>
line 727, in assertRaises<br>
    return context.handle('assertRaises', args, kwargs)<br>
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py",<br>
line 176, in handle<br>
    callable_obj(*args, **kwargs)<br>
  File "/Users/travis/build/MacPython/scikit-learn-wheels/venv/lib/python3.5/site-packages/sklearn/tree/tree.py",<br>
line 348, in fit<br>
    max_leaf_nodes)<br>
  File "sklearn/tree/_tree.pyx", line 291, in<br>
sklearn.tree._tree.BestFirstTreeBuilder.__cinit__<br>
(/private/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/pip-j_xtpbj9-build/sklearn/tree/_tree.c:4461)<br>
OverflowError: Python int too large to convert to C long<br>
```<br>
<br>
No failures for 32-bit Linux though.<br>
<br>
Best,<br>
<div><div><br>
Matthew<br>
_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>