请帮我这个错误导入错误:没有tensorflow命名模块
我已经安装在服务器上的tensorflow模块下面是它的信息
[email protected]:~$ pip show tensorflow
Name: tensorflow
Version: 1.0.0
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2.0
Location: /home/other/15IT60R19/anaconda2/lib/python2.7/site-packages
Requires: mock, numpy, protobuf, wheel, six
但是,当我尝试导入tensorflow我获得以下错误
>>> import tensorflow as tf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named tensorflow
我的Python版本如下所示:
Python 2.7.12 |Anaconda 2.5.0 (64-bit)| (default, Jul 2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
我曾尝试在 sol1
给出的解决方案,我没有对服务器 sudo访问我只能用PIP安装任何模块
也pip显示tensorflow – YaBoiSandeep