ubuntu 和windows 分别在anaconda上安装tensorflow

windows下 的anaconda安装tensorflow:

在Anaconda Prompt中:conda install tensorflow python=3.5一直下载失败.总结一下原因可能国外的源,网速太慢且不稳定

借鉴http://www.cnblogs.com/nosqlcoco/p/6923861.html

把镜像改为清华大学开源软件镜像站:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

conda config --set show_channel_urls yes

conda creat -n tensorflow python=3.5 (我的python版本是3.5.2)

‘y‘

安装CPU版本:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/tensorflow-1.1.0-cp35m-win_amd64.whl

(或者打开 https://mirrors.tuna.tsinghua.edu.cn/tensorflow/)选择合适的whl文件地址进行安装;或者打开 https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/可视化安装

最后:activate tensorflow 激活Tensorflow虚拟环境。

当不适用Tensorflow时,使用deactivate tensorflow。

Ubuntu 下anaconda install tensorflow:

conda install tensorflow

原文地址:https://www.cnblogs.com/lyyao/p/9759226.html

时间: 2024-12-26 13:48:59

ubuntu 和windows 分别在anaconda上安装tensorflow的相关文章

windows系统用anaconda配置安装TensorFlow

(2017.4.13)tensorflow支持python3.5版本 1.打开anaconda依次输入: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 这里是利用了清华的一个镜像来更新你的anaconda,输入两次,第二次是为了把这个url置顶. conda config --set show_channel_urls yes url配置结束,这里开始配置python3.5

Ubuntu上安装TensorFlow(python2.7版)

笔记内容:Ubuntu上安装TensorFlow(python2.7版)笔记日期:2018-01-31 Ubuntu上安装TensorFlow(python2.7版) 我的系统环境: Ubuntu 16.04 LTS python 2.7 python 3.5 TensorFlow的两个版本: TensorFlow的安装形式主要有以下几种: virtualenv pip docker anaconda 源代码编译 我这里使用pip进行安装,pip是Python软件包管理系统:Pip Instal

在Windows Server 2008 R2上安装 PowerShell 5.0

在Windows Server 2008 R2上安装 PowerShell 5.0 安装.NET Framework 4.6.2 下载NDP462-KB3151800-x86-x64-AllOS-ENU.exe,安装 安装PowerShell 4.0(5.0依赖4.0) 下载Windows6.1-KB2819745-x64-MultiPkg.msu,安装. 安装PowerShell5.0 下载Win7AndW2K8R2-KB3134760-x64.msu,安装. 完成后,重启服务器.

在64位Windows Server 2008 R2上安装mtools

在64位Windows Server 2008 R2上安装mtools 该安装向导提供了循序渐进的指南,用于在Microsoft Windows Server 2008 R2上安装mtools. 前提 Windows Powershell需要被安装. 该主机必需能访问互联网. 安装步骤 1. 下载和安装Python 2.7.x(当前版本2.7.10) a) 进入https://www.python.org/downloads/ b) 选择最新的2.7.x目录. c) 下载Windows x86-

在 Windows 7 和 Windows Server 2008 R2 上安装 Windows PowerShell 3.0

在 Windows 7 和 Windows Server 2008 R2 上安装 Windows PowerShell 3.0 Windows 7 和 Windows Server 2008 R2 内核版本同为6.1,以下步骤说明如何在运行 Windows 7 SP1 和 Windows Server 2008 R2 SP1 的机器上安装 Windows PowerShell 3.0. 安装准备 1. 在安装Windows Management Framework 3.0之前,卸载任何Windo

Windows server 2008 R2上安装exchange2010注意的问题

1在windows server 2008 R2上安装exchange 2010方便了很多,只需要下载一个FilterPackx64安装. 2在安装IIS的过程中,建议除FTP外全选安装,今天在安装2010时,由于没有完全安装IIS7,出现"无法从元数据库读取数据,请确保已安装IIS信息服务",另外切记IIS6.0管理器一定要安装,今天就差IIS6.0管理器没有安装依然提示此错误. 3之后还需要启动net.tcp服务,Windows server 2008 R2默认是禁用此服务,因此需

如何在Windows Server 2012 R2上安装SharePoint 2013

笔者原以为是个挺容易个事儿, 毕竟是微软自家的产品安装在自家的操作系统上, 没想到还是让我费了半天劲. 写在这里吧, 方便其他的朋友. 具体步骤 ============================== 1. 准备好Windows Server 2012 R2 RTM的一台虚拟机, 准备SharePoint 2013 RTM的安装包, 和SP1的安装包. 2. 制作slipstream安装文件, 参考这里. 3. 这时运行prerequisiteinstaller会如下的报错. 4. 先在S

win server 2012 R2 你需要先安装 对应于 KB2919355 的更新 ,然后才可在 Windows 8.1 或 Windows Server 2012 R2 上安装此产品

产生阻滞的问题: 你需要先安装 对应于 KB2919355 的更新 ,然后才可在 Windows 8.1 或 Windows Server 2012 R2 上安装此产品. 官方说法(这些 KB 必须按以下顺序安装:clearcompressionflag.exe.KB2919355.KB2932046.KB2959977.KB2937592.KB2938439.KB2934018. 实际上应该再安装一个 包  Windows8.1-KB2919442-x64.msu  https://www.m

Win10上安装TensorFlow(官方文档翻译)

一.推荐两个网站 TensorFlow官方文档:https://www.tensorflow.org/install/install_windows TensorFlow中文社区:http://www.tensorfly.cn/tfdoc/get_started/os_setup.html 二.在 Windows 上安装 TensorFlow 目录: 确定要安装的 TensorFlow 使用 GPU 支持的TensorFlow 的要求 确定如何安装 TensorFlow 使用本机 pip 安装