When I try to run this: import numpy as np
in python I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kevin/anaconda2/lib/python2.7/site-packages/numpy/__init__.py", line 201, in <module>
from . import random
File "/home/kevin/anaconda2/lib/python2.7/site-packages/numpy/random/__init__.py", line 99, in <module>
from .mtrand import *
ImportError: /home/kevin/anaconda2/lib/python2.7/site-packages/numpy/random/mtrand.so: undefined symbol: PyFPE_jbuf
I am running ubuntu 16.04 and have 2 python installations. I have also installed anaconda:
kevin@phantom:~$ which python
/home/kevin/anaconda2/bin/python
I did a conda update --all
and I now have:
kevin@phantom:~$ python --version
Python 2.7.11 :: Anaconda custom (64-bit)
What am I doing wrong? What can I do to fix this issue?