• 解决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)

    差不多算是正常了吧

    人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。
  • 相关阅读:
    ssh访问控制,多次失败登录即封掉IP,防止暴力破解
    经常用到的一些命令行
    自定义控件
    委托线程三部曲(引用)
    关于委托
    三个调用的例子(转)
    同一网段的两台电脑通信(转)
    SOCKET原理(转载)
    C#winform和百度API互动-----之JS读取中C#中的函数
    C#winform和百度API互动-----之读取中js的参数
  • 原文地址:https://www.cnblogs.com/guochaoxxl/p/15635532.html
Copyright © 2020-2023  润新知