I'm using Anaconda2 v5.0.1
on LinuxMint 17.3 Rosa
. When I tried to import scipy.stats
I got this error:
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/dolf/anaconda2/lib/python2.7/site-packages/scipy/sparse/_sparsetools.so
Then I tried this solution:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
But now I get this error:
ImportError: /home/dolf/anaconda2/lib/python2.7/site-packages/scipy/spatial/ckdtree.so: symbol _ZTINSt8ios_base7failureB5cxx11E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
I don't understand the error message, and cannot find anything useful online. How can I fix this?