首页 > 编程语言 > 详细

Python---virtualenv + Tensorflow + jupyter notebook

时间:2018-09-05 10:13:17      阅读:194      评论:0      收藏:0      [点我收藏+]

  一、ubuntu系统下安装完caffe后,安装 jupyter notebook。

在终端中执行,安装指令:

sudo pip install jupyter 

安装完成后运行 notebook : 

jupyter notebook 

或  

ipython notebook 

二、ubuntu系统下,使用virtualenv安装完tensorfow后,安装 jupyter notebook。

主要步骤:

  1. 进入虚拟环境

    source myproject/bin/activate

  2. 安装 IPykernel
  1. < python2 >
  2. pip install ipykernel
  3. < python3 >
  4. pip3 install ipykernel
  1. 将 Virtualenv 加入IPykernel
  1. < python2 >
  2. python2 -m ipykernel install --user --name=myproject
  3. < python3 >
  4. python3 -m ipykernel install --user --name=myproject

         4.动jupyter notebook并更改kernel

Python---virtualenv + Tensorflow + jupyter notebook

原文:https://www.cnblogs.com/carle-09/p/9590395.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!