标签:python2.7 port 2.7 安装 oca efault inux inf 4.0
命令行输入python
python Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
可以查看python版本。
然后输入
import tensorflow as tf
tf.__version__
就可以查看tf版本了:
python Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf >>> tf.__version__ ‘1.4.0‘ >>> tf.__path__ [‘/usr/local/lib/python2.7/dist-packages/tensorflow‘] >>>
标签:python2.7 port 2.7 安装 oca efault inux inf 4.0
原文地址:https://www.cnblogs.com/lixiaolun/p/9118828.html