[scikit-learn] How to test on PYTHON_ARCH=32 with mac?

Matthew Brett matthew.brett at gmail.com
Wed Jul 20 14:38:36 EDT 2016


On Wed, Jul 20, 2016 at 7:26 PM, lin yenchen <yenchenlin1994 at gmail.com> wrote:
> arch: posix_spawnp: nosetests: Bad CPU type in executable

I think your nosetests is pointing to a Python executable other than
Python.org Python.  I only get that error when trying to execute
homebrew Python, not Python.org Python or system Python.  Maybe check
what nosetests is using with

head -1 $(which nosetests

Best,

Matthew


More information about the scikit-learn mailing list