我正在使用conda env作为python解释器,我已经安装了所有必需的软件包但是当我运行该文件时,我收到此错误
Traceback (most recent call last):
File "D:\Anaconda3\envs\tf\lib\site-packages\numpy\core\__init__.py", line 16,
in <module>
from . import multiarray
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/Programming Projects/python projects/MaskRCNN/src/test_tf.py", line 8
, in <module>
import numpy as np
File "D:\Anaconda3\envs\tf\lib\site-packages\numpy\__init__.py", line 142, in
<module>
from . import add_newdocs
File "D:\Anaconda3\envs\tf\lib\site-packages\numpy\add_newdocs.py", line 13, i
n <module>
from numpy.lib import add_newdoc
File "D:\Anaconda3\envs\tf\lib\site-packages\numpy\lib\__init__.py", line 8, i
n <module>
from .type_check import *
File "D:\Anaconda3\envs\tf\lib\site-packages\numpy\lib\type_check.py", line 11
, in <module>
import numpy.core.numeric as _nx
File "D:\Anaconda3\envs\tf\lib\site-packages\numpy\core\__init__.py", line 26,
in <module>
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: The specified module could not be found.
Process finished with exit code 1
但是当我从终端运行它时,它工作得很好
它是一个已知的issue,应该固定在2019.1 EAP。你能更新一下吗?