win10+Ubuntu16.04双系统安装——史上最稳总结,排除一切花里花哨

关于装双系统 win10+Ubuntu,真的是很闹心

反反复复折腾多少次

这里简单记录下,安装过程及参考的可靠博客

一、win10+Ubuntu16.04

https://blog.csdn.net/fesdgasdgasdg/article/details/54183577 良心博客,讲解透彻,注意事项也很明了,力荐!

二、搜狗输入法

https://blog.csdn.net/qq_37589838/article/details/81208409

直接按流程走就行

 

三、Ubuntu16.04安装Windows的exe

前言:

先进入root:su root

(1)输入:add-apt-repository ppa:ubuntu-wine/ppa
添加wine的库,照提示按 回车 添加
(2)输入:apt-get update
为了更新源,以便查找最新的软件
(3)在完成源的更新后,输入:apt-get install wine安装wine

安装软件 cd /./software.exe

四、莫名出现没有tensorflow模块

在终端测试tensorflow安装,导入tensorflow模块,突然就不行了 说没有tensorflow模块

我就尝试性的重新安装tensorflow pip3 install tensoflow

就突然下面的问题:

ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

更新下wrapt就好了:

pip3 install -U --ignore-installed wrapt enum34 simplejson netaddr

五、出现invalid syntax

>>> print sess.run(hello)

  File "", line 1
    print sess.run(hello)
             ^

SyntaxError: invalid syntax

重新安装tensoflow后,用hello world测试,就出现上面的问题

愿因:

python2和python3版本不同,tensorflow输出print 用法不同
 

python2:print 'hello'

python3:print ('hello')

持续更新~~

你可能感兴趣的:(工具使用)