Closed
Description
looks like issue was introduced in gh-7980, and is hitting this Clang bug: https://llvm.org/bugs/show_bug.cgi?id=25510. Will have a look at finding a workaround.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-4ee716103900> in <module>()
----> 1 import numpy as np
/Users/rgommers/Code/numpy/numpy/__init__.py in <module>()
140 return loader(*packages, **options)
141
--> 142 from . import add_newdocs
143 __all__ = ['add_newdocs',
144 'ModuleDeprecationWarning',
/Users/rgommers/Code/numpy/numpy/add_newdocs.py in <module>()
11 from __future__ import division, absolute_import, print_function
12
---> 13 from numpy.lib import add_newdoc
14
15 ###############################################################################
/Users/rgommers/Code/numpy/numpy/lib/__init__.py in <module>()
6 from numpy.version import version as __version__
7
----> 8 from .type_check import *
9 from .index_tricks import *
10 from .function_base import *
/Users/rgommers/Code/numpy/numpy/lib/type_check.py in <module>()
9 'common_type']
10
---> 11 import numpy.core.numeric as _nx
12 from numpy.core.numeric import asarray, asanyarray, array, isnan, \
13 obj2sctype, zeros
/Users/rgommers/Code/numpy/numpy/core/__init__.py in <module>()
30 del os
31
---> 32 from . import umath
33 from . import _internal # for freeze programs
34 from . import numerictypes as nt
ImportError: dlopen(/Users/rgommers/Code/numpy/numpy/core/umath.cpython-35m-darwin.so, 2): Symbol not found: ___cpu_model
Referenced from: /Users/rgommers/Code/numpy/numpy/core/umath.cpython-35m-darwin.so
Expected in: flat namespace
in /Users/rgommers/Code/numpy/numpy/core/umath.cpython-35m-darwin.so
Clang version:
$ clang -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0