我已经安装了Tensor flow pkg进行学习,如下所示
C:\Users\> pip3 show tensorflow Name: tensorflow Version: 1.12.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc. Author-email: opensource@google.com
License: Apache 2.0
Location: c:\python37-32\lib\site-packages
Requires: numpy, six, wheel, gast, protobuf, tensorboard, absl-py, grpcio, keras-preprocessing, termcolor, keras-appl
Required-by:
C:\Users\>python -V Python 3.7.0
但是当我尝试导入pkg时,出现了错误:
将numpy导入为np
将matplotlib.pyplot导入为plt
将tensorflow导入为tf
ImportError跟踪(最近的呼叫 最后)在()
1将numpy导入为np
2导入matplotlib.pyplot作为plt
----> 3导入tensorflow作为tf
ImportError:没有名为“ tensorflow”的模块
有人可以提出任何解决方案吗?