其他分享
首页 > 其他分享> > 解决anaconda启动的错误

解决anaconda启动的错误

作者:互联网

安装好的anaconda启动报错如下:

anaconda-navigator 
2021-12-02 20:57:12,833 - WARNING linux_scaling.get_scaling_factor_using_dbus:31
An exception occurred during fetching list of system display settings.

libGL error: MESA-LOADER: failed to open iris: /home/nication/anaconda3/lib/python3.9/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /home/nication/anaconda3/lib/python3.9/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /home/nication/anaconda3/lib/python3.9/site-packages/PyQt5/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
2021-12-02 20:57:55,550 - ERROR download_api._download:228
HTTPSConnectionPool(host='optimise2.assets-servd.host', port=443): Read timed out. (read timeout=5)

QXcbConnection: XCB error: 3 (BadWindow), sequence: 3225, resource id: 14878253, major code: 40 (TranslateCoords), minor code: 0

后来发现是系统下的/usr/lib/libstdc++.so.6.0.29, anaconda下的/lib/libstdc++.so.6.0.28两个版本居然不一致,那就采用偷天换日的方法吧。

mv ~/anaconda3/lib/libstdc++.so.6.0.28 ~/anaconda3/lib/libstdc++.so.6.0.28bake

cp /usr/lib/libstdc++.so.6.0.29  ~/anaconda3/lib/libstdc++.so.6.0.28

现在启动就没有什么问题了:

anaconda-navigator 
2021-12-02 21:34:56,159 - WARNING linux_scaling.get_scaling_factor_using_dbus:31
An exception occurred during fetching list of system display settings.

2021-12-02 21:35:31,590 - ERROR download_api._download:228
HTTPSConnectionPool(host='optimise2.assets-servd.host', port=443): Read timed out. (read timeout=5)

2021-12-02 21:35:31,921 - ERROR download_api._download:228
HTTPSConnectionPool(host='optimise2.assets-servd.host', port=443): Read timed out. (read timeout=5)

差不多算是正常了吧

 

标签:libstd,错误,lib,启动,c++,dri,..,so.6,anaconda
来源: https://www.cnblogs.com/guochaoxxl/p/15635532.html