import tensorflow as tf时报找不到module

来源:3-11 安装TensorFLow(下)

慕函数2082699

2018-09-17

报错信息

import tensorflow as tf
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘tensorflow’

tensorflow信息

(tensorflow) taoshideMac-mini:tensorflow taoshiliu$ pip3 show tensorflow
Name: tensorflow
Version: 1.10.1
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: /Users/taoshiliu/tensorflow/lib/python3.6/site-packages
Requires: numpy, protobuf, setuptools, absl-py, six, wheel, gast, tensorboard, termcolor, grpcio, astor
Required-by:

python信息

(tensorflow) taoshideMac-mini:tensorflow taoshiliu$ python -V
Python 3.7.0

写回答

1回答

Oscar

2018-09-18

你是用pip3安装的Tensorflow吧?用的什么命令?

0
0

基于Python玩转人工智能最火框架 TensorFlow应用实践

机器学习入门,打牢TensorFlow框架应用是关键!

2214 学习 · 688 问题

查看课程