windows10+Python3.6+Anaconda3+tensorflow1.10.0配置和安装
windows10+Python3.6+Anaconda3+tensorflow1.10.0
# Anaconda3安装自行下载安装,之后dos或Anaconda Prompt终端查看Anaconda3版本
(base) C:\Users\jiangshan>conda -V
conda 4.6.8
windows10下使用Anaconda3安装tensorflow1.10.0
# TenssorFlow目前还不支持Python 3.7,使用Anaconda3创建Python 3.6虚拟环境
# 创建基于python 3.6 的tensorflow环境:
(base) C:\Users\jiangshan>conda create --name tensorflow python=3.6
留意以下信息
==========================================
environment location: S:\Users\jiangshan\Anaconda3\envs\tensorflow
added / updated specs:
- python=3.6
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2019.3.9 | py36_0 149 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
pip-19.0.3 | py36_0 1.9 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
python-3.6.7 | he025d50_1004 20.7 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
setuptools-40.8.0 | py36_0 633 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
wheel-0.33.1 | py36_0 52 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
wincertstore-0.2 | py36_1002 13 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
==========================================
# 进入虚拟环境 tensorflow
(base) C:\Users\jiangshan>conda activate tensorflow
# 安装 tensorflow
(base) C:\Users\jiangshan>conda install tensorflow
==============================================================================================================
environment location: S:\Users\jiangshan\Anaconda3\envs\tensorflow
added / updated specs:
- tensorflow
The following packages will be downloaded:
package | build
---------------------------|-----------------
absl-py-0.7.0 | py36_1000 154 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
astor-0.7.1 | py_0 22 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
gast-0.2.2 | py_0 10 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
grpcio-1.16.0 |py36hbb4b082_1000 861 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
libprotobuf-3.7.0 | h1a1b453_1 2.2 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
m2w64-gcc-libgfortran-5.3.0| 6 340 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-gcc-libs-5.3.0 | 7 518 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-gcc-libs-core-5.3.0 | 7 213 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-gmp-6.1.0 | 2 689 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-libwinpthread-git-5.0.0.4634.697f757| 2 30 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
markdown-2.6.11 | py_0 56 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
mkl-2017.0.3 | 0 126.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
msys2-conda-epoch-20160418 | 1 2 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
numpy-1.14.2 | py36h5c71026_0 3.7 MB defaults
protobuf-3.7.0 | py36he025d50_0 536 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
six-1.12.0 | py36_1000 21 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
tensorboard-1.10.0 | py36_0 3.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
tensorflow-1.10.0 | py36_0 32.2 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
termcolor-1.1.0 | py_2 6 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
werkzeug-0.14.1 | py_0 249 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
------------------------------------------------------------
Total: 171.3 MB
==============================================================================================================
【以上https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/**镜像源添加和设置请参见之前的博文】
# 查看虚拟环境
(tensorflow) C:\Users\jiangshan>conda info -e
# conda environments:
#
base S:\Users\jiangshan\Anaconda3
deeplearning S:\Users\jiangshan\Anaconda3\envs\deeplearning
tensorflow * S:\Users\jiangshan\Anaconda3\envs\tensorflow 【* 代表处于活动状态】
# 查看虚拟环境已经安装的包
(tensorflow) C:\Users\jiangshan>conda list
===============================================================================================================================
# packages in environment at S:\Users\jiangshan\Anaconda3\envs\tensorflow:
#
# Name Version Build Channel
absl-py 0.7.0 py36_1000 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
astor 0.7.1 py_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
blas 1.0 mkl https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ca-certificates 2019.3.9 hecc5488_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
certifi 2019.3.9 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
gast 0.2.2 py_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
grpcio 1.16.0 py36hbb4b082_1000 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
icc_rt 2019.0.0 h0cc432a_1 defaults
libprotobuf 3.7.0 h1a1b453_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
m2w64-gcc-libgfortran 5.3.0 6 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-gcc-libs 5.3.0 7 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-gcc-libs-core 5.3.0 7 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-gmp 6.1.0 2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
markdown 2.6.11 py_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
mkl 2017.0.3 0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
msys2-conda-epoch 20160418 1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2
numpy 1.14.2 py36h5c71026_0 defaults
openssl 1.0.2r hfa6e2cd_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
pip 19.0.3 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
protobuf 3.7.0 py36he025d50_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
python 3.6.7 he025d50_1004 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
setuptools 40.8.0 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
six 1.12.0 py36_1000 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
tensorboard 1.10.0 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
tensorflow 1.10.0 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
termcolor 1.1.0 py_2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
vc 14 0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
vs2015_runtime 14.0.25420 0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
werkzeug 0.14.1 py_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
wheel 0.33.1 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
wincertstore 0.2 py36_1002 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
zlib 1.2.11 h2fa13f4_1004 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
===============================================================================================================================
# 测试
(tensorflow) C:\Users\jiangshan>python
Python 3.6.7 (default, Feb 28 2019, 07:28:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf 【不报错就表示安装成功】
>>> quit()
# 退出虚拟环境
(tensorflow) C:\Users\jiangshan>deactivate
windows10+Python3.6+Anaconda3+tensorflow1.10.0配置和安装的更多相关文章
- kafka0.9.0及0.10.0配置属性
问题导读1.borker包含哪些属性?2.Producer包含哪些属性?3.Consumer如何配置?borker(0.9.0及0.10.0)配置Kafka日志本身是由多个日志段组成(log segm ...
- hadoop2.2.0+hive-0.10.0完全分布式安装方法
hadoop+hive-0.10.0完全分布式安装方法 1.jdk版本:jdk-7u60-linux-x64.tar.gz http://www.oracle.com/technetwork/cn/j ...
- PhpStorm 10.0.3 下载安装与汉化
https://www.7down.com/soft/229568.html 2JA97R55MG-eyJsaWNlbnNlSWQiOiIySkE5N1I1NU1HIiwibGljZW5zZWVOYW ...
- ARCGIS 10.0破解版安装过程error 1606 和error 1316问题 及安装流程
来自:http://blog.csdn.net/don_lvsml/article/details/8681100 楼主今天安装ESRI.ArcGIS.10.CS时,由于第一次接触该软件,将其按照一般 ...
- Kali Linux 2.0配置并安装常用的工具
Kali Linux 前身是著名渗透测试系统BackTrack ,是一个基于 Debian 的 Linux 发行版,包含很多安全和取证方面的相关工具. Kali Linux 2.0是基于Debian ...
- MariaDB——(一)CentOS 6.5 下 MariaDB 10.0.15 YUM 安装
1.配置yum源: 在MariaDB官网提供了yum源在线生成器,选择合适的系统和版本后,会生成所需的repo文件内容: 在/etc/yum.repos.d/目录下新建一个MariaDB.repo文件 ...
- IIS 10.0 无法安装 URL rewrite重写模块 2.0解决办法
[问题描述]系统升级到Windows10后,IIS是10.0的,发现无法安装 URLRewrite重写模块 2.0. [解决办法]打开注册表编辑器,在HKEY_LOCAL_MACHINE\SOFTWA ...
- vmware workstation 10.0.1 install mac os mavericks
由于项目当中有ios app开发,第一感觉就是mac开发环境会比较适合开发与调试(虽然linux.windows都有相应的oc开发环境). 由于我是用windows7搞.net开发的,所以其他系统接触 ...
- ArcGIS Server 10.0 安装及使用完整攻略
引言 ArcGIS Server 10.0在使用和安装的过程中,需要进行比较全面的学习,才能正确使用.缺乏正确的指引,用户很容易在安装及使用中遇到问题.所以笔者在此总结Server 10.0的安装及使 ...
随机推荐
- CSS实现鼠标经过网页图标弹出微信二维码
特点 1.纯CSS实现二维码展示功能,减少加载JS: 2.使用CSS3 transform 属性: ## 第一步 在需要展示二维码的地方添加如下代码,其中<a>标签内容可以根据需要修改成 ...
- 留言板0.4_model中的数据库(1)
1.先在数据库中加入一天测试数据先 2.在model的"views"中载入数据库和model的类 import pymysql from .models import UserMe ...
- ionic默认样式android和ios差异
ionicframework中android和ios在默认样式上有一些不同的地方,官方文档中都有说明,但是经常会想不起. 一.差异: 1.tab位置,$ionicConfigProvider, tab ...
- 全球首款完全开源的堡垒机,符合 4A 的专业运维审计系统Jumpserver
Jumpserver是全球首款完全开源的堡垒机,是符合 4A 的专业运维审计系统. http://www.jumpserver.org https://github.com/jumpserver/ju ...
- InfoPath读取List到重复表
标题设置好了 添加一个按钮 更改ID 点击编写代码 然后添加引用 并更改下域的名字 添加如下代码 public void LoadBtn_Clicked(object sender, Clicked ...
- 解决:Tomcat 局域网IP地址 访问不了
解决:Tomcat 局域网IP地址 访问不了 2014年10月17日 ⁄ 综合 ⁄ 共 1000字 ⁄ 字号 小 中 大 ⁄ 评论关闭 如果连最基本的localhost:8080都失败的话. 原因就一 ...
- JDOM 操作XML
http://www.cnblogs.com/hoojo/archive/2011/08/11/2134638.html 可扩展标记语言——eXtensible Markup Language 用户可 ...
- CameraAPI中的 自定义照相功能
前几天的项目需要使用CameraAPI自己定义照相机,之前用过的二维码也要自己写底层代码,于是总结一下使用CameraAPI的几点事项.现在由于JDK7.0及其以上版本的官方文档已经不再推荐使用cam ...
- python图像处理:pytesseract和PIL
大概介绍下相关模块的概念: Python-tesseract 是光学字符识别Tesseract OCR引擎的Python封装类.能够读取任何常规的图片文件(JPG, GIF ,PNG , TIFF等) ...
- 第 14 章 结构和其他数据形式(伸缩型数组成员C99)
伸缩型数组成员C99 声明一个伸缩型数组成员的规则: 1.伸缩型数组成员必须是结构的最后一个成员: 2.结构中必须至少有一个成员: 3.伸缩数组的方括号是空的. 示例 struct flex { in ...