It is not possible to import numpy through the command line on windows 10. numpy imports correctly in the spyder IDE, ipython console, and jupyter notebooks.
Actual Behavior
import numpy fails with an error
Python 3.5.4 |Anaconda custom (64-bit)| (default, Nov 8 2017, 14:34:30) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\brandon9\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy\__init__.py", line 142, in <module>
from . import add_newdocs
File "C:\Users\brandon9\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "C:\Users\brandon9\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
from .type_check import *
File "C:\Users\brandon9\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "C:\Users\brandon9\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 16, in <module>
from . import multiarray
SystemError: initialization of multiarray raised unreported exception
It is not possible to import numpy through the command line on windows 10. numpy imports correctly in the spyder IDE, ipython console, and jupyter notebooks.
Actual Behavior
import numpy
fails with an errorExpected Behavior
numpy should import
Steps to Reproduce
import numpy
Anaconda or Miniconda version:
Operating System:
Windows 10
conda info
conda list --show-channel-urls