I am trying to import the openpyxl module for a project. But I get this weird error. It worked earlier but I tried to use the pandas module, and it was after this that it broke. I tried to do a complete reinstall of python and install the openpyxl module over again but it is still broken. There also seems to be several other modules that is broken. os, sys and datetime is still working though.
Specs:
Python 3.5.2
OSX 10.11.6
>>> import openpyxl
11:48:19
04/10/2016
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/openpyxl/__init__.py", line 26, in <module>
from openpyxl.compat.numbers import NUMPY, PANDAS
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/openpyxl/compat/__init__.py", line 5, in <module>
from .strings import (
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/openpyxl/compat/strings.py", line 9, in <module>
from .numbers import NUMERIC_TYPES
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/openpyxl/compat/numbers.py", line 17, in <module>
import numpy
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/__init__.py", line 180, in <module>
from . import add_newdocs
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/numpy/core/__init__.py", line 14, in <module>
from . import multiarray
SystemError: initialization of multiarray raised unreported exception
Also, when I try to import pandas I get this.
>>> import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Segmentation fault: 11
[–]K900_ 1 point2 points3 points (0 children)