chris@chris-crunch:~$ sudo apt-get install -f --reinstall python-numpy
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 11 not to upgrade.
Need to get 0 B/1,603 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 216187 files and directories currently installed.)
Preparing to unpack .../python-numpy_13a1.8.2-0ubuntu0.1_amd64.deb ...
Unpacking python-numpy (1:1.8.2-0ubuntu0.1) over (1:1.8.2-0ubuntu0.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up python-numpy (1:1.8.2-0ubuntu0.1) ...
chris@chris-crunch:~$ python
Python 2.7.11 |Anaconda 2.4.1 (64-bit)| (default, Dec 6 2015, 18:08:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out:
http://continuum.io/thanks and
https://anaconda.org
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/chris/anaconda2/lib/python2.7/site-packages/numpy-1.12.0.dev0+12ec338-py2.7-linux-x86_64.egg/numpy/__init__.py", line 180, in <module>
from . import add_newdocs
File "/home/chris/anaconda2/lib/python2.7/site-packages/numpy-1.12.0.dev0+12ec338-py2.7-linux-x86_64.egg/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/home/chris/anaconda2/lib/python2.7/site-packages/numpy-1.12.0.dev0+12ec338-py2.7-linux-x86_64.egg/numpy/lib/__init__.py", line 22, in <module>
from .npyio import *
File "/home/chris/anaconda2/lib/python2.7/site-packages/numpy-1.12.0.dev0+12ec338-py2.7-linux-x86_64.egg/numpy/lib/npyio.py", line 12, in <module>
from . import format
File "/home/chris/anaconda2/lib/python2.7/site-packages/numpy-1.12.0.dev0+12ec338-py2.7-linux-x86_64.egg/numpy/lib/format.py", line 171
def _check_version(version):
^
SyntaxError: invalid syntax
>>>