jupyter里没有python3_在jupyter中配置python3

1、首先按照https://www.pyimagesearch.com/2017/09/25/configuring-ubuntu-for-deep-learning-with-python/ 地址中的内容配置好virtualevn虚拟环境,

假设当前虚拟环境为dl4cv,则首先启动它:workon dl4cv, 键入: $: python, 将看到当前虚拟环境为python3.6.1即python3的环境。

2、输入 $: jupyter notebook,将启动浏览器jupyter,启动后,点击右侧图标 New,如果只有Python2,则首先退出该jupyter

3、在dl4cv虚拟下,安装jupyter: pip install ipython 以及 pip install jupyter

4、等待安装完成,通过命令:$: python -m ipykernel install --user  将当前环境的python3加入到jupyter中。

5、此时再次键入: $: jupyter notebook,将启动浏览器jupyter,启动后,点击右侧图标 New,将能同时看到Python2和Python3。

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值