I am getting the following error:
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/wasiahmad/software/anaconda3/lib/python3.6/site-packages/matplotlib/_path.cpython-36m-x86_64-linux-gnu.so)
at this line:
import matplotlib.pyplot as plt
I have visited issues reported in Github and StackOverflow and followed them but still couldn't solve the problem.
Solutions checked:
- https://stackoverflow.com/a/41703611/5352399
- https://stackoverflow.com/a/39856855/5352399
- https://github.com/AllenDowney/ThinkStats2/issues/92 (exactly facing this issue but the provided solution didn't work for me)
I have checked that the file: libstdc++.so.6
is located at /home/wasiahmad/software/anaconda3/lib/
and I ran the following command:
$ strings ~/software/anaconda3/lib/libstdc++.so.6 | grep CXXABI_1.3.9
and it returns CXXABI_1.3.9
.
But I still can't figure out what is the problem. Any help would be appreciated.