我的numpy
已安装,但找不到错误
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-73f596e02be6> in <module>()
----> 1 import tensorflow as tf
2 from tensorflow import keras
3
4 print(tf.__version__)
~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\__init__.py in <module>()
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
25
26 try:
~\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\__init__.py in <module>()
45 # pylint: disable=wildcard-import,g-bad-import-order,g-import-not-at-top
46
---> 47 import numpy as np
48
49 from tensorflow.python import pywrap_tensorflow
~\Anaconda3\envs\tensorflow\lib\site-packages\numpy\__init__.py in <module>()
140 return loader(*packages, **options)
141
--> 142 from . import add_newdocs
143 __all__ = ['add_newdocs',
144 'ModuleDeprecationWarning',
~\Anaconda3\envs\tensorflow\lib\site-packages\numpy\add_newdocs.py in <module>()
11 from __future__ import division, absolute_import, print_function
12
---> 13 from numpy.lib import add_newdoc
14
15 ###############################################################################
ModuleNotFoundError: No module named 'numpy.lib'