8000 Numpy crashes with -OO · Issue #5148 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
Numpy crashes with -OO #5148
Closed
Closed
@bpires-ualberta

Description

@bpires-ualberta

Hello, I ran $ python -OO -c 'import numpy' on a fresh miniconda install (after $ conda install numpy) and I got the following output:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/obernardo/miniconda/lib/python2.7/site-packages/numpy/__init__.py", line 191, in <module>
    from . import ma
  File "/Users/obernardo/miniconda/lib/python2.7/site-packages/numpy/ma/__init__.py", line 49, in <module>
    from . import extras
  File "/Users/obernardo/miniconda/lib/python2.7/site-packages/numpy/ma/extras.py", line 438, in <module>
    :np.apply_over_axes.__doc__.find('Notes')].rstrip() + \
AttributeError: 'NoneType' object has no attribute 'find'

Running $ python gives me the following output (I am running OS X Mavericks on a Dec-2010 MacBook Pro):

Python 2.7.8 |Continuum Analytics, Inc.| (default, Aug 21 2014, 15:21:46) 
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org

Finally, running python -c 'import numpy' works normally. I hope this is enough information for you all, but please let me know if you need more. (It's the second bug report I submit in my life, and the first one was about a typo in documentation!)

Thanks a lot for making numpy available to us, it is a very, very useful tool that works greatly for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0