zoukankan      html  css  js  c++  java
  • 解决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)

    差不多算是正常了吧

    人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。
  • 相关阅读:
    MVC5+EF6简单实例以原有SQLServer数据库两表联合查询为例
    ArcGIS生成根据点图层生成等值面并减小栅格锯齿的操作步骤
    EF6+MVC5之Oracleo数据库的Code First方式实现
    jquery写的tab切换效果 非常简单
    APP消息推送是否进入消息中心和click、receive事件分析
    Android APP切换到后台接收不到推送消息
    js写的简单轮播图
    凉凉的笔记 two day
    凉凉的笔记 one.day
    在SQL Server数据库中批量导入数据的四种方法
  • 原文地址:https://www.cnblogs.com/guochaoxxl/p/15635532.html
Copyright © 2011-2022 走看看