Open mohican521 opened 1 year ago
Traceback (most recent call last): File "step1_LPC.py", line 26, in dll = cdll.LoadLibrary(os.path.join(project_dir, 'LPC.dll')) # 加载 LPC.dll File "/opt/conda/envs/python3.7/lib/python3.7/ctypes/init.py", line 442, in LoadLibrary return self._dlltype(name) File "/opt/conda/envs/python3.7/lib/python3.7/ctypes/init.py", line 364, in init self._handle = _dlopen(self._name, mode) OSError: ./LPC.dll: invalid ELF header
dll文件是windows下的动态链接库,linux下应该不支持吧
Traceback (most recent call last): File "step1_LPC.py", line 26, in
dll = cdll.LoadLibrary(os.path.join(project_dir, 'LPC.dll')) # 加载 LPC.dll
File "/opt/conda/envs/python3.7/lib/python3.7/ctypes/init.py", line 442, in LoadLibrary
return self._dlltype(name)
File "/opt/conda/envs/python3.7/lib/python3.7/ctypes/init.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: ./LPC.dll: invalid ELF header