用anaconda安装tensorflow
conda create -n tensorflow python=2.7
conda activate tensorflow / source activate tensorflow
anaconda search -t conda tensorflow
anaconda show HCC/tensorflow-cpucompat
官方下载更新工具包的速度很慢,所以继续添加清华大学 TUNA提供的Anaconda仓库镜像,在终端或cmd中输入如下命令进行添加
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
conda config --set show_channel_urls yes
根据返回的内容进行安装(238上没有成功)
(tensorflow) yuany@Mobile238:~/.conda/envs/tensorflow$ anaconda show HCC/tensorflow-cpucompat
Using Anaconda API: https://api.anaconda.org
Name: tensorflow-cpucompat
Summary: Computation using data flow graphs for scalable machine learning.
Access: public
Package Types: conda
Versions:
+ 1.0.0
+ 0.12.1
+ 1.3.1
+ 1.4.0
+ 1.5.0
+ 1.7.0
To install this package with conda run:
conda install --channel https://conda.anaconda.org/HCC tensorflow-cpucompat
(tensorflow) yuany@Mobile238:~/.conda/envs/tensorflow$ conda install --channel https://conda.anaconda.org/HCC tensorflow-cpucompat
卸载已经安装的tensorflow
conda uninstall r-tensorflow
直接用pip安装,参考如下网页
https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/
最新文章
- iOS 内存管理
- Swift 和 C# 的语法比较
- Oracle数据库面试题【转载】
- kali 密码攻击
- 【Fate/kaleid liner 魔法少女☆伊莉雅】系列中实践的、新世代的动画摄影工作流
- TExternalThread TThread -- Delphi -- Cannot terminate an externally created thread ?
- set和replace方法的区别
- C语言基础学习学习前的准备-1
- C语言程序设计第三次作业——选择结构(一)
- RedHat Enterprise Linux 6.4使用网易Centos 6 的yum源
- PHP jsonp ajax 跨域 实例
- Java NStruct
- Pytorch 之 backward
- linux下升级gcc版本(gcc-7)
- python import 其他 package的模块
- Django2.0的path方法无法使用正则表达式的解决办法
- 使用Arduino驱动基于ST7533芯片的TFT屏
- oracle 、mysql、 sql server使用记录
- gradle windows上面安装配置
- Android-Sqlite-OOP方式操作增删改查