我在 import tensorflow as tf 时出现下面的错误是什么问题,之前装也没有问题。
2020-06-28 21:14:21.568630: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
Traceback (most recent call last):
File “”, line 1, in
File “F:\Python\InstallPath\lib\site-packages\tensorflow_init_.py”, line 41, in
from tensorflow.python.tools import module_util as module_util
File "F:\Python\InstallPath\lib\site-packages\tensorflow\python_init.py", line 84, in
from tensorflow.python import keras
File “F:\Python\InstallPath\lib\site-packages\tensorflow\python\keras_init_.py”, line 27, in
from tensorflow.python.keras import models
File “F:\Python\InstallPath\lib\site-packages\tensorflow\python\keras\models.py”, line 27, in
from tensorflow.python.keras.engine import sequential
File “F:\Python\InstallPath\lib\site-packages\tensorflow\python\keras\engine\sequential.py”, line 27, in
from tensorflow.python.keras.engine import training
File “F:\Python\InstallPath\lib\site-packages\tensorflow\python\keras\engine\training.py”, line 37, in
from tensorflow.python.keras.engine import data_adapter
File “F:\Python\InstallPath\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py”, line 55, in
from scipy import sparse as scipy_sparse # pylint: disable=g-import-not-at-top
File “F:\Python\InstallPath\lib\site-packages\scipy_init_.py”, line 106, in
from . import distributor_init
File “F:\Python\InstallPath\lib\site-packages\scipy_distributor_init.py”, line 26, in
WinDLL (os.path.abspath (filename))
File "F:\Python\InstallPath\lib\ctypes_init.py", line 364, in init
self._handle = _dlopen (self._name, mode)
OSError: [WinError 126] 找不到指定的模块。