ubuntu更新anconda3的python版本出現的問題及解決方案


1.ubuntu啟動spyder出現"段錯誤(核心已轉儲)"

參考方案:https://blog.csdn.net/sinat_41789705/article/details/82764155?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

缺點:

  可能出現的問題1:按照上面鏈接解決此問題,在終端輸入~/Anaconda3/bin/目錄下的命令,提示找不到此模塊

        shi@shi:~$ spyderr

        Command 'spyderr' not found, did you mean:

        command 'spyder' from deb spyder
        command 'spyder3' from deb spyder3

        Try: sudo apt install <deb name>

  原因:Python版本被更新

解決方案:

  1.卸載Anaconda3

  2.下載python被更新后對應的Anaconda3  

    下載地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

  3.重新安裝Anaconda3

    安裝方式:https://www.cnblogs.com/longjie-shi/p/12306947.html

  4.啟動spyder

    注:不會出現"段錯誤(核心已轉儲)"

2.conda下載模塊速度慢

  解決方案:更換下載源

    清華源:https://www.jianshu.com/p/21f35cb966fc

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM