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

原文地址:https://www.cnblogs.com/jeshy/p/10520337.html

时间: 2024-11-10 14:33:54

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 segment).一个日志是一个FileMessageSet,它包含了日志数据以及OffsetIndex对象,该对象使用位移来读取日志数据 * borker配置就是指配置server.properties文件 * 最小配置 通常情况下需要在减压缩kafka后,修改config/server.proper

OpenCV3.4.0+QT5.10.0配置

1.安装QT5.10.0 这个不用多说,相信大家都会. 在线安装:https://www.qt.io/download 或者下载离线安装包:http://download.qt.io/official_releases/qt/ 2.下载OpenCV https://github.com/opencv/opencv/releases/download/3.4.0/opencv-3.4.0-vc14_vc15.exe 从上面的网址下载并安装(其实就是解压缩),我的路径是C:\opencv,安装完毕后

ARCGIS 10.0破解版安装过程error 1606 和error 1316问题 及安装流程

来自:http://blog.csdn.net/don_lvsml/article/details/8681100 楼主今天安装ESRI.ArcGIS.10.CS时,由于第一次接触该软件,将其按照一般软件安装流程安装,结果各种报错,在网上搜索了下错误,无非就是注册表错误等问题,然后开始删除各种注册表---重启---重装,最终解决了报error 1606 和error 1316的问题!^_^| 首先贴出ESRI.ArcGIS.10.CS的正确安装流程:(网上找到的) 在win7旗舰版32位下安装E

VMWare Workstation 10.0 取消自动安装

之前以为VMWare Workstation是付费的,所以一直使用免费的Virtual Box,基本功能也都熟悉了.毕竟VMWare虚拟机市场的老大,所以便开始学习使用VMWare Workstation. VMWare Workstation与Virtual Box安装虚拟机过程中最大的不同是,增加了自动安装功能,该功能好是好,但是有时候却总是安装不成功. (这种自动安装其实就是:  提供简易安装信息->当新建虚拟机向导检测到支持简易安装的操作系统,将会提示您提供有关客户机操作系统的信息.创建

ArcGIS Server 10.0 安装及使用完整攻略

引言 ArcGIS Server 10.0在使用和安装的过程中,需要进行比较全面的学习,才能正确使用.缺乏正确的指引,用户很容易在安装及使用中遇到问题.所以笔者在此总结Server 10.0的安装及使用中需要参考的资源.提供适当的教程,并对可能出现的问题进行解释,可供一些可行的解决方案.有兴趣做好Server 10.0工作的笔者,请耐心阅读本文.笔者花了近一个星期的时间研究ArcGIS Server 10.0的使用,希望对后来者能有所帮助. 安装 Server 10.0的安装前,建议在本机安装一

安装python 第三方库遇到的安装问题 microsoft visual studio c++ 10.0 is required,Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?

问题一: microsoft visual studio c++ 10.0 is required 安装scrapy时候出现需要vc c++ 10,有时安装其他也会有. 解决方法:安装vc 2010,安装过2017无效,安装过程也不一样. 问题二: 安装好,出现Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? 解决办法: 1.pip install wheel 2. 到http://

CentOS7.0安装Nginx 1.10.0

首先由于nginx的一些模块依赖一些lib库,所以在安装nginx之前,必须先安装这些lib库,这些依赖库主要有g++.gcc.openssl-devel.pcre-devel和zlib-devel 所以执行如下命令安装$ yum install gcc-c++ $ yum install pcre pcre-devel $ yum install zlib zlib-devel $ yum install openssl openssl--devel 安装之前,最好检查一下是否已经安装有ngi

Windows 10 SDK 10.0.10158

昨天微软发布了Windows 10 SDK 10158版本: http://blogs.windows.com/buildingapps/2015/06/30/windows-10-sdk-preview-build-10158-released/ 更新内容都在上面这个博客内容里了. Win10开发者工具页面: https://dev.windows.com/en-US/downloads/windows-10-developer-tools 注:请求中文页面请自行更改en-US为zh-CN,下

centos7源码安装git2.10.0版本

由于Centos7使用yum -y install git 安装的git版本是git --versiongit version 1.9.x想要升级到2.10.0:升级安装git的时候,最好一次安装依赖.yum install -y tk zlib-devel openssl-devel perl cpio expat-devel gettext-devel asciidoc xmltoyum install perl-ExtUtils-MakeMaker packageyum remove gi