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:
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.
Adding /home/wasiahmad/software/anaconda3/lib/
to the LD_LIBRARY_PATH
solved the problem. Thanks to Knud Larsen for his comment and the reminder that /lib64/libstdc++.so.6
currently comes first in LD_LIBRARY_PATH
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With