Tag Archives: Anaconda startup error

Anaconda startup error: libGL error… [How to Solve]

The installed Anaconda startup error is as follows:

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

Later, it was found that the two versions of/usr/lib/libstdc + +. So.6.0.29 under the system and/lib/libstdc + +. So.6.0.28 under Anaconda were inconsistent. Let’s use the method of stealing heaven and earth.

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

There is no problem starting now:

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)

It’s almost normal