from ctypes import CDLL
import os
dll_path = r"path_to_your_dll\name.dll" # 替换为实际的 DLL 文件路径
tmp = CDLL(dll_path)
Traceback (most recent call last):
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'xx/xx/.../xx.dll'. Try using the full path with constructor syntax.