美文网首页python
2020-06-03-jupyter notebook指定con

2020-06-03-jupyter notebook指定con

作者: logi | 来源:发表于2020-06-08 19:00 被阅读0次

    1.问题描述

    在创建的conda env上运行jupyter notebook,但发现在notebook中的python其实并没有运行在那个env上。

    2.解决方案

    安装nb_conda_kernels

    conda install nb_conda_kernels
    

    并重新启动notebook,在kernel -> change kernel中即可切换到指定的虚拟环境

    参考资料:https://github.com/Anaconda-Platform/nb_conda_kernels
    原文链接:https://blog.csdn.net/weixin_41278720/article/details/81477279

    相关文章

      网友评论

        本文标题:2020-06-03-jupyter notebook指定con

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