<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic macos: Importing the multiarray numpy extension module failed. in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130294#M833</link>
    <description>I installed intel-numpy using homebrew python3 and

pip3 install intel-numpy

This is what is installed under pip list

Package      Version  
------------ ---------
icc-rt       16.0.3   
intel-numpy  1.13.3.10
intel-openmp 2018.0.0 
mkl          2018.0.0 
mkl-fft      1.0.0.17 
mkl-random   1.0.0.8  
numpy        1.13.3   
pip          10.0.1   
setuptools   39.2.0   
wheel        0.31.1   

But importing numpy fails with this message

$ python3
Python 3.6.5 (default, Apr 25 2018, 14:23:58) 
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&amp;gt;&amp;gt;&amp;gt; import numpy
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/numpy/core/__init__.py", line 16, in &lt;MODULE&gt;
    from . import multiarray
ImportError: dlopen(/usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so, 2): Symbol not found: _main
  Referenced from: /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so
  Expected in: flat namespace
 in /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "&lt;STDIN&gt;", line 1, in &lt;MODULE&gt;
  File "/usr/local/lib/python3.6/site-packages/numpy/__init__.py", line 158, in &lt;MODULE&gt;
    from . import add_newdocs
  File "/usr/local/lib/python3.6/site-packages/numpy/add_newdocs.py", line 13, in &lt;MODULE&gt;
    from numpy.lib import add_newdoc
  File "/usr/local/lib/python3.6/site-packages/numpy/lib/__init__.py", line 8, in &lt;MODULE&gt;
    from .type_check import *
  File "/usr/local/lib/python3.6/site-packages/numpy/lib/type_check.py", line 11, in &lt;MODULE&gt;
    import numpy.core.numeric as _nx
  File "/usr/local/lib/python3.6/site-packages/numpy/core/__init__.py", line 26, in &lt;MODULE&gt;
    raise ImportError(msg)
ImportError: 
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: dlopen(/usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so, 2): Symbol not found: _main
  Referenced from: /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so
  Expected in: flat namespace
 in /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so

How can this be fixed?&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/STDIN&gt;&lt;/MODULE&gt;</description>
    <pubDate>Fri, 25 May 2018 16:11:38 GMT</pubDate>
    <dc:creator>pheon</dc:creator>
    <dc:date>2018-05-25T16:11:38Z</dc:date>
    <item>
      <title>macos: Importing the multiarray numpy extension module failed.</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130294#M833</link>
      <description>I installed intel-numpy using homebrew python3 and

pip3 install intel-numpy

This is what is installed under pip list

Package      Version  
------------ ---------
icc-rt       16.0.3   
intel-numpy  1.13.3.10
intel-openmp 2018.0.0 
mkl          2018.0.0 
mkl-fft      1.0.0.17 
mkl-random   1.0.0.8  
numpy        1.13.3   
pip          10.0.1   
setuptools   39.2.0   
wheel        0.31.1   

But importing numpy fails with this message

$ python3
Python 3.6.5 (default, Apr 25 2018, 14:23:58) 
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
&amp;gt;&amp;gt;&amp;gt; import numpy
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/numpy/core/__init__.py", line 16, in &lt;MODULE&gt;
    from . import multiarray
ImportError: dlopen(/usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so, 2): Symbol not found: _main
  Referenced from: /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so
  Expected in: flat namespace
 in /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "&lt;STDIN&gt;", line 1, in &lt;MODULE&gt;
  File "/usr/local/lib/python3.6/site-packages/numpy/__init__.py", line 158, in &lt;MODULE&gt;
    from . import add_newdocs
  File "/usr/local/lib/python3.6/site-packages/numpy/add_newdocs.py", line 13, in &lt;MODULE&gt;
    from numpy.lib import add_newdoc
  File "/usr/local/lib/python3.6/site-packages/numpy/lib/__init__.py", line 8, in &lt;MODULE&gt;
    from .type_check import *
  File "/usr/local/lib/python3.6/site-packages/numpy/lib/type_check.py", line 11, in &lt;MODULE&gt;
    import numpy.core.numeric as _nx
  File "/usr/local/lib/python3.6/site-packages/numpy/core/__init__.py", line 26, in &lt;MODULE&gt;
    raise ImportError(msg)
ImportError: 
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: dlopen(/usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so, 2): Symbol not found: _main
  Referenced from: /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so
  Expected in: flat namespace
 in /usr/local/lib/python3.6/site-packages/numpy/core/multiarray.cpython-36m-darwin.so

How can this be fixed?&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/STDIN&gt;&lt;/MODULE&gt;</description>
      <pubDate>Fri, 25 May 2018 16:11:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130294#M833</guid>
      <dc:creator>pheon</dc:creator>
      <dc:date>2018-05-25T16:11:38Z</dc:date>
    </item>
    <item>
      <title>Pheon,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130295#M834</link>
      <description>&lt;P&gt;Pheon,&lt;/P&gt;

&lt;P&gt;Which macOS version are you using?&lt;/P&gt;</description>
      <pubDate>Sat, 26 May 2018 04:08:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130295#M834</guid>
      <dc:creator>gaston-hillar</dc:creator>
      <dc:date>2018-05-26T04:08:36Z</dc:date>
    </item>
    <item>
      <title>I am running High Sierra</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130296#M835</link>
      <description>&lt;P&gt;I am running High Sierra Version 10.13.4&lt;/P&gt;</description>
      <pubDate>Mon, 28 May 2018 14:32:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/macos-Importing-the-multiarray-numpy-extension-module-failed/m-p/1130296#M835</guid>
      <dc:creator>pheon</dc:creator>
      <dc:date>2018-05-28T14:32:29Z</dc:date>
    </item>
  </channel>
</rss>

