美文网首页
jupyter conda使用中遇到的问题

jupyter conda使用中遇到的问题

作者: 那不勒斯抹茶羽衣南瓜饼 | 来源:发表于2017-12-04 16:36 被阅读0次

    You can make Python 3.5 environment with your Anaconda 2.7:

    conda create -n py35 python=3.5
    Now, activate it:

    activate py35
    Finally you can install the desired packages:

    conda install numpy

    安装py36内核,并安装jupyter py36 kernal

    conda create -n py36 python=3.6
    source activate py36
    anaconda2/envs/py36/bin/pip install ipykernel

    jupyter kernelspec list
    source deactivate
    jupyter kernelspec list
    jupyter kernelspec install /notebooks/anaconda2/envs/py36/share/jupyter/kernels/python3

    image.png

    我们环境管理用的conda,conda的env和jupyter用的ipython kernel没打通。。
    https://github.com/jupyter/jupyter/issues/245
    https://github.com/jupyter/notebook/issues/2563

    相关文章

      网友评论

          本文标题:jupyter conda使用中遇到的问题

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