[Numpy-discussion] Installing numpy on py 3.1.2 , osx

David Cournapeau cournape at gmail.com
Sun Jun 13 19:06:03 EDT 2010


On Mon, Jun 14, 2010 at 5:17 AM, Vincent Davis <vincent at vincentdavis.net>wrote:

> As an update. I was able to get py 3.2.1 current source to build/install.
> After that I was able to build and install the current numpy. Everything
> seems ok.
> I did try to run the tests but get an error. It looks like nose has a
> problem.
>
> >>> np.test()
> Running unit tests for numpy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/numpy/testing/nosetester.py",
> line 321, in test
>     self._show_system_info()
>   File
> "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/numpy/testing/nosetester.py",
> line 187, in _show_system_info
>     nose = import_nose()
>   File
> "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-packages/numpy/testing/nosetester.py",
> line 56, in import_nose
>     import nose
>   File "nose/__init__.py", line 1, in <module>
>     from nose.core import collector, main, run, run_exit, runmodule
>   File "nose/core.py", line 142
>     print "%s version %s" % (os.path.basename(sys.argv[0]), __version__)
>

You need to install a nose version compatible with python 3

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100614/12af0c85/attachment.html>


More information about the NumPy-Discussion mailing list