Win10 Ubuntu子系统下jupyter安装C++ kernel

℡╲_俬逩灬. 提交于 2020-05-03 21:30:42

第一步 安装Miniconda3

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x 
bash Miniconda3-latest-Linux-x86_64.sh


一路选择安装好

第二步 设置Conda源为中科大源(必要,不然会因为网速慢无法下载)

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --set show_channel_urls yes

替换默认镜像源

conda config --set channel_alias https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

第三步 安装 jupyter notebook

conda install jupyter

第四步 安装 xeus-cling

conda install xeus-cling -c conda-forge

第五步 打开jupyter notebook

jupyter notebook

浏览器打开网址以后可以看到我们已经可以使用C++的kernel了
接下来编写一个测试 大功告成

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!