在我的项目中导入Tensorflow时出错

时间:2019-11-03 18:59:40

标签: python python-3.x tensorflow anaconda six

我的项目是在Windows 10上的Python 3.7,anaconda Jupyter Notebook中进行的。 当我尝试导入Tensorflow时,出现以下错误消息:

>>> import tensorflow as tf

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    import tensorflow as tf
  File "C:\Users\Guilherme\AppData\Roaming\Python\Python37\site-packages\tensorflow\__init__.py", line 98, in <module>
    from tensorflow_core import *
  File "C:\Users\Guilherme\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\__init__.py", line 42, in <module>
    from . _api.v2 import audio
  File "C:\Users\Guilherme\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\_api\v2\audio\__init__.py", line 10, in <module>
    from tensorflow.python.ops.gen_audio_ops import decode_wav
  File "C:\Users\Guilherme\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\python\ops\gen_audio_ops.py", line 7, in <module>
    import six as _six
ModuleNotFoundError: No module named 'six'
>>> 

我尝试安装此“六个”,但提示“已满足要求”

我该怎么办?

0 个答案:

没有答案