0

I have installed the matplotlib in python,and when I import matplotlib,it works well.But when I import matplotlib.pyplot as plt,the command line prompt me that an importerror occurred.

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/nju/anaconda2/envs/tensorflow/lib/python2.7/site-packages/matplotlib/_path.so)

How can I solve the problem? Thanks very much

Light
  • 141
  • 1
  • 10

1 Answers1

0
sudo apt install libgl1-mesa-glx

Above command is from the link below.

https://github.com/ContinuumIO/docker-images/issues/49

Petter Friberg
  • 21,252
  • 9
  • 60
  • 109
dropsci
  • 26