Anaconda libstdc++.so.6: version `GLIBCXX_3.4.20' not found

不羁的心 提交于 2020-01-03 18:53:10

问题


I am using anaconda for python and I face this problem I tried a lot to solve this error, but still not solved.

I used the following commands so far

sudo apt-get install libstdc++6
sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

conda install libgcc

in this link a solution provided but I still don't know how to do that


回答1:


I solved this by

conda install libgcc=5.2.0



回答2:


I meet the same problem, which is when I run jupyter notebook, I got

ImportError: /home/cugtyt/software/miniconda3/lib/python3.6/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/cugtyt/software/miniconda3/lib/python3.6/site-packages/zmq/backend/cython/../../../../../libzmq.so.5)

I solve it by doing this:

conda uninstall gcc

Hope it can help u!



来源:https://stackoverflow.com/questions/48453497/anaconda-libstdc-so-6-version-glibcxx-3-4-20-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!