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