终端中查看python路径和版本
wayne@wayne-GE60-2OC-2OD-2OE:~$ which python
/home/wayne/anaconda3/bin/python
wayne@wayne-GE60-2OC-2OD-2OE:~$ whereis python
python: /usr/bin/python /usr/bin/python2.7 /usr/bin/python2.7-config /usr/bin/python3.4m /usr/bin/python3.4 /etc/python /etc/python2.7 /etc/python3.4 /usr/lib/python2.7 /usr/lib/python3.4 /usr/bin/X11/python /usr/bin/X11/python2.7 /usr/bin/X11/python2.7-config /usr/bin/X11/python3.4m /usr/bin/X11/python3.4 /usr/local/lib/python2.7 /usr/local/lib/python3.4 /usr/include/python2.7 /usr/include/python3.4m /usr/share/python /usr/share/man/man1/python.1.gz
wayne@wayne-GE60-2OC-2OD-2OE:~$ python
Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
安装最新版tf
pip install --upgrade pip
pip install --upgrade tensorflow
pip install git+

这篇博客主要介绍了在Ubuntu操作系统中如何安装TensorFlow和TensorLayer。首先,通过终端检查Python路径和版本,接着安装最新版本的TensorFlow。在安装过程中可能会遇到问题,可以尝试下载whl文件进行安装。此外,还讲解了如何启动和关闭Jupyter以及运行Spyder的步骤。
最低0.47元/天 解锁文章
861

被折叠的 条评论
为什么被折叠?



