jupyter中使用TensorFlow 在激活TensorFlow之后安装ipython和jupyter
Tensorflow的安装见之前发的 win10+python3.6+tensorflow-cpu+keras+Pycharm环境下的tensorflow配置方法

接win10+python3.6+tensorflow-cpu+keras+Pycharm环境下的tensorflow配置方法

(tensorflow) C:\Users\Administrator>python
Python 3.6.11  [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import keras
Using TensorFlow backend.
>>>quit()(tensorflow) C:\Users\Administrator>

安装测试完keras之后,先用quit()退出python代码编辑,在tensorflow环境下,输入如下命令:

conda install ipython

(tensorflow) C:\Users\Administrator>conda install ipython

conda install jupyter

(tensorflow) C:\Users\Administrator>conda install jupyter

ipython kernelspec install-self --user
这里需要注意user前面是两个–

(tensorflow) C:\Users\Administrator>ipython kernelspec install-self --user
[TerminalIPythonApp] WARNING | Subcommand `ipython kernelspec` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter kernelspec` in the future
[InstallNativeKernelSpec] WARNING | `jupyter kernelspec install-self` is DEPRECATED as of 4.0. You probably want `ipython kernel install` to install the IPython kernelspec.
[InstallNativeKernelSpec] Installed kernelspec python3 in C:\Users\Administrator\AppData\Roaming\jupyter\kernels\python3

打开Jupyter notebook,运行

import tensorflow as tf
import keras

没报错,代表成功!!!

参考
使用anaconda安装tensorflow,并在Jupyter Notebook使用

jupyter notebook上完美运行tensorflow、keras相关推荐

  1. jupyter notebook中,对tensorflow运行时经常出现“The kernel appears to have died. It will restart automatically”

    在jupyter notebook 或者spyder上运行tensorflow的代码时(主要是代码 包含CNN),如果软件安装有问题,会出现"The kernel appears to ha ...

  2. Tips--tensorboard在win系统中jupyter notebook上打开方式

    tensorboard在win系统中jupyter notebook上打开方式 1. 问题描述 2. 解决方法 1. 问题描述 最近疫情吃紧,又没有把Linux本带回家,所以只能用Windows将就着 ...

  3. jupyter 托管_如何在本地托管的Jupyter Notebook上进行协作

    jupyter 托管 背景故事 (Backstory) Some while back I received a call from a good friend that is learning ab ...

  4. notebook python 内嵌 数据库_python数据分析:在jupyter notebook上使用pythonSQL做数据分析...

    python数据分析:在jupyter notebook上使用python&SQL做数据分析 发布时间:2019-01-14 21:14, 浏览次数:1143 , 标签: python jup ...

  5. jupyter notebook 上用matplotlib绘图,出现The kernel appears to have died.It will restart automatically

    环境 anaconda3+自定义python环境+jupyter notebook jupyter notebook 上用matplotlib绘图,出现The kernel appears to ha ...

  6. 云服务器上利用R运行tensorflow/keras

    1. 利用virtualenv创建虚拟环境:我的环境名为r-tensorflow virtualenv 你的环境名 --python=python3.6(你想要的Python版本) 进入虚拟环境目录, ...

  7. ML.NET 终于在Jupyter NoteBook 上跑起来了

    对.NETer来说,刚结束的.NET Conf 2019是非常难忘的,毕竟这个个人觉得比微软在中国办的大会更加清真,当然现阶段.NET 已经不单跑在Windows的一项技术了,它可以跑在Linux/m ...

  8. Jupyter Notebook切换python运行环境

    #待解决的问题 通常我们下载Anaconda后运行Jupyter Notebook后都是默认基于base的python环境,可是随着后期的使用,可能会创捷一些其他的python环境,那怎么在Jupyt ...

  9. 如何让Jupyter Notebook支持pytorch、tensorflow

    写在这里的初衷,一是备忘,二是希望得到高人指点,三是希望能遇到志同道合的朋友. 目录 一.pytorch.tensorflow虚拟环境的安装 1.pytorch安装 2.tensorflow安装 二. ...

最新文章

  1. 真香!你的 2019 年终总结已经出 - 请查收
  2. AXI quad SPI没有输出
  3. 使用LinearLayout实现ListView,解决ListView和ScrollView滚动冲突
  4. java字符的输入流_Java:字节流和字符流(输入流和输出流)
  5. Python天天美味(23) - enumerate遍历数组
  6. Coinbase呼吁用户向美国财政部提交有关加密钱包新规的评论
  7. Nginx的反向代理的配置
  8. 2020-11-18 Ubuntu 安装 Chrome
  9. html转换成avi,HTML_视频转换大师WinMPG Video Convert 6.63,支持格式丰富,可快速完成AVI(RM - phpStudy...
  10. Java笔试题大全(附带答案)
  11. Leetcode Problem108
  12. WebStrom开发微信小程序
  13. php 显示探针_php 探针
  14. 紫光拼音输入法6.7.0.9 论坛测试版发布
  15. Windows10 文件夹按分组排序
  16. 树莓派chromium代理设置
  17. 电磁兼容(EMC)的标准与测试内容(三)
  18. 0318复利计算器4.0
  19. 【单片机毕业设计】【mcuclub-jj-015】基于单片机的风扇的设计
  20. Javascript重命名对象键

热门文章

  1. python django 的启动脚本
  2. android中完全退出当前应用程序的四种方法
  3. 如果你的男朋友使用linux
  4. narray删除列 python_Python数据分析入门教程(四):数值操作
  5. python3爬取数据存入mysql_Python如何爬取51cto数据并存入MySQL
  6. h3c交换机限制端口访问_H3C交换机端口限速和流量监管典型配置指导
  7. c语言程序计算p q真值表,C语言程序设计第2章数据类型﹒运算符和表达式.ppt
  8. git stash pop_git常用命令行背诵并默写(全)
  9. php点击字切换验证码,PHP生成图片验证码、点击切换实例 Web程序 - 贪吃蛇学院-专业IT技术平台...
  10. linux网络掉线频繁怎么设置,ubuntu频繁掉线