Blender and external files not working, giving error in numpy I keep running into an issue with Blender, and files I create outside of blender that I then import into my blender file as a library. This seems like an issue with numpy, although i'm not 100 percent certain on this.

As of right now, I am using Blender v 2.79 (which uses python 3.5) and on my machine (mac sierra) the default is python 3.6. Numpy version is 1.15. Something that might be valuable to know is I tried uninstalling numpy and reinstalling the newest version into the blender files rather than the version that came with it. That seemed to do nothing for this error

Whenever I run any file that imports any library that uses numpy (which I have found is used in just about every library) I get various issues.

Right now I am getting this error

which looks like the same issue faced here 

https://github.com/numpy/numpy/issues/9047

Traceback (most recent call last):
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/python/lib/python3.5/site-packages/numpy/core/__init__.py", line 16, in &lt;module&gt;
    from . import multiarray
ImportError: cannot import name 'multiarray'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/Samuel/Documents/CGS/cgs-oop/oop-blender-demo.blend/model.py.006", line 10, in &lt;module&gt;
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/python/lib/python3.5/site-packages/numpy/__init__.py", line 142, in &lt;module&gt;
    from . import add_newdocs
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/python/lib/python3.5/site-packages/numpy/add_newdocs.py", line 13, in &lt;module&gt;
    from numpy.lib import add_newdoc
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/python/lib/python3.5/site-packages/numpy/lib/__init__.py", line 8, in &lt;module&gt;
    from .type_check import *
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/python/lib/python3.5/site-packages/numpy/lib/type_check.py", line 11, in &lt;module&gt;
    import numpy.core.numeric as _nx
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/python/lib/python3.5/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: cannot import name 'multiarray'


Any ideas on how to debug this or how I can hone down the issue would be greatly appreciated. 

EDIT:

I have gotten around this issue in the past by calling the other programs with Popen(), obviously this is not ideal for run time, reusability and modularity. For whatever reason if I use Popen() I do not run into this issue.
You can use Synaptic Package Installer to download individual numpy files which fulfill the dependency Blender requires.
Specifically, I downloaded the file python3-numpy 'Fast Array facility to the Python 3 language' from Synaptic.