美文网首页
ubuntu16.04下spyder和jupyter noteb

ubuntu16.04下spyder和jupyter noteb

作者: 永兴呵呵哒 | 来源:发表于2018-08-24 17:17 被阅读0次

    一、在终端输入spyder即可打开spyder:
    gs@gs:~$ spyder
    打开之后将其Lock in launcher,则以后点击图标即可启动。
    二、spyder启动后黑屏解决办法
    1.在终端输入命令:
    cd /etc/ld.so.conf.d
    进入到当前目录。
    2.在终端输入命令:
    sudo cat x86_64-linux-gnu_GL.conf
    会显示以下结果:
    /usr/lib/nvidia-384
    /usr/lib32/nvidia-384
    3.在终端输入命令:
    sudo gedit i386-linux-gnu_GL.conf ,将以上结果复制进来保存退出.
    4.在终端输入命令:
    sudo ldconfig 进行动态链接保存.
    重启spyder,即可解决问题。
    三、在终端输入jupyter notebook,即可启动jupyter notebook。
    退出时,使用Ctrl+c快捷键即可。
    四、jupyter notebook切换coda虚拟环境
    先使用命令source activate 虚拟环境名称,进入自己创建的虚拟环境,
    然后在创建的虚拟环境下,执行命令:
    conda install nb_conda
    在重新开启jupyter notebook即可,如下图所示。

    Screenshot from 2018-08-24 17-16-06.png

    相关文章

      网友评论

          本文标题:ubuntu16.04下spyder和jupyter noteb

          本文链接:https://www.haomeiwen.com/subject/rnqiiftx.html