參考文章:https://www.cnblogs.com/tsingke/p/7171270.html
Tensorflow鏡像:https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/
ubuntu鏡像:http://mirrors.ustc.edu.cn/
系統:win10
ubuntu:ubuntu-16.04.5-desktop-amd64.iso
Vmware:14.0
TensorFlow 版本 :1.3.0
python:2.7
1、下載VMware虛擬機
官網地址:https://www.vmware.com/cn.html
在官網下載,需要註冊郵箱,授權碼從網上百度。
2、下載ubuntu鏡像
使用中科大源
3、配置ubuntu虛擬機
需要重啓電腦,進入BIOS界面,打開計算機對虛擬化的支持。
4、安裝pip
方便後續安裝軟件
sudo apt-get install python-pip
5、使用pip安裝tensorflow
pip install \ -i https://pypi.tuna.tsinghua.edu.cn/simple/ \ https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/tensorflow-1.3.0-cp27-none-linux_x86_64.whl --user
6、驗證tensorflow是否安裝成功
中間出現的問題:
1、pip安裝版本問題
按照提示的操作執行命令
總結:
各種教程和實際操作過程出現的問題,肯定有出入,這個時候需要我們自己來解決。
linux系統出現問題,會報好多提示,重點看最後幾句