[Numpy-discussion] Segmentation Fault in Numpy.test()

Thomas Markovich thomasmarkovich at gmail.com
Tue Aug 2 12:14:15 EDT 2011


I just have the default "apple" version of python that comes with Snow
Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
(Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

Should I just remove 2.7 and reinstall everything with the standard apple
python?

On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau <shish at keba.be> wrote:

> It's a wild guess, but in the past I've had seg faults issues on Mac due to
> conflicting versions of Python. Do you have multiple Python installs on your
> Mac?
>
> -=- Olivier
>
>
> 2011/8/2 Thomas Markovich <thomasmarkovich at gmail.com>
>
>> Hi All,
>>
>> I installed numpy from the scipy superpack on Snow Leopard with python 2.7
>> and it all appears to work but when I do the following, I get a segmentation
>> fault.
>>
>> >>> import numpy
>> >>> print numpy.__version__, numpy.__file__
>> 2.0.0.dev-b5cdaee
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
>> >>> numpy.test()
>> Running unit tests for numpy
>> NumPy version 2.0.0.dev-b5cdaee
>> NumPy is installed in
>> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
>> Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
>> 4.2.1 (Apple Inc. build 5666) (dot 3)]
>> nose version 1.1.2
>> ............................................................................................................................................................................................................................................................................................................................Segmentation
>> fault
>> thomasmarkovich:~ Thomas$
>>
>> What is the best way to trouble shoot this? Do you guys have any
>> suggestions? I have also included the core dump in this email as a pastie
>> link.
>>
>> http://pastie.org/2309652
>>
>> Best,
>>
>> Thomas
>>
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110802/7e690100/attachment.html>


More information about the NumPy-Discussion mailing list