当我在PyChram中导入mxnet软件包时,
我遇到了从未遇到过的OSError,
我不知道该怎么解决。
以下是错误信息:
回溯(最近通话最近一次):
File "D:/PycharmProjects/LinearRegression/demo/pikachu_detection.py", line 1, in <module>
from mxnet import image
File "D:\Anaconda3\lib\site-packages\mxnet\__init__.py", line 25, in <module>
from . import engine
File "D:\Anaconda3\lib\site-packages\mxnet\engine.py", line 23, in <module>
from .base import _LIB, check_call
File "D:\Anaconda3\lib\site-packages\mxnet\base.py", line 113, in <module>
_LIB = _load_lib()
File "D:\Anaconda3\lib\site-packages\mxnet\base.py", line 105, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
File "D:\Anaconda3\lib\ctypes\__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
等待您的答案。
答案 0 :(得分:0)
这可能是因为您在系统上缺少一个或多个依赖项dll。尝试下载并安装Visual C++ Redistributable Packages for Visual Studio。如果不起作用,请检查here中的解决方案。