VirtualBox Ubuntu 16.04安装Tensorflow
2017-10-13 12:06
405 查看
VirtualBox Ubuntu 16.04安装Tensorflow
1.安装python-pip和
python-dev
sudo apt-get install python-pip python-dev
2.安装
Tensroflow
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl[/code]
【注】如果有错误,可以尝试使用上述命令重新安装
3.安装完成。出现以下界面表示安装完成。
4. 测试$ python >>>import tensorflow as tf >>>hello=tf.constant('hello') >>>sess=tf.Session() >>>print(sess.run(hello)) hello >>>a=tf.constant(10) >>>b=tf.constant(32) >>>print(sess.run(a+b)) 42
5.安装IDE
安装的IDE为Komodo Edit
链接:http://komodoide.com/download/edit-linux64/#
解压缩后界面如下:
安装步骤:
1. 进入到该文件解压缩的文件夹中
2. 运行./install.sh,界面如下:
相关文章推荐
- Ubuntu 16.04 + CUDA 9.0下安装GPU版TensorFlow 1.4(无需从源码编译安装)
- Ubuntu 16.04安装配置TensorFlow GPU版本
- ubuntu16.04安装tensorflow(python2.7版本)
- Ubuntu16.04编译安装tensorflow,2018最新血泪踩坑之后的全面总结!绝对成功!
- ubuntu16.04安装TensorFlow出现Memoryerror
- Ubuntu16.04下安装tensorflow(GPU加速)
- ubuntu16.04安装TensorFlow,并测试TensorFlow的运行
- Ubuntu16.04安装配置GPU版TensorFlow
- Ubuntu16.04下安装Tensorflow GPU版本(图文详解)
- ubuntu16.04:cuda8.0+python3.5+tensorflow1.4+opencv3.2安装说明
- 在ubuntu16.04下安装Anaconda配置TensorFlow-GPU+MNIST: Resource exhausted: OOM的问题解决
- Ubuntu16.04下安装Anaconda(包含spyder)和Tensorflow
- Ubuntu 16.04安装和配置TensorFlow-gpu
- Ubuntu16.04安装TensorFlow 1.2.0
- Ubuntu16.04环境下安装CUDA、cudnn、Caffe、Tensorflow、pytorch
- Ubuntu16.04源码安装TensorFlow
- ubuntu16.04 安装tensorflow
- Ubuntu16.04安装Tensorflow存在的问题汇总
- Ubuntu 16.04 安装QQ以及VirtualBox安装windows和qq
- Ubuntu 16.04 + cuda8.0 + opencv3 + caffe的安装,tensorflow-gpu的安装