>>> import site >>> print(site.getsitepackages()) ['D:\\wyc\\env\\win_arm_kylin\\win_arm_kylin\\releases_gcc-9.3.0_x86_64-w64-mingw32\\lib\\python3.12\\site-packages'] >>> import sys, importlib.util >>> print(sys.executable) >>> print(sys.path) >>> print(importlib.util.find_spec("binascii")) >>> import binascii (gdb) show charset The host character set is "auto; currently CP1252". The target character set is "auto; currently CP1252". The target wide character set is "auto; currently UTF-32". (gdb) python >import os, traceback >try: > import binascii > os.write(1, b"IMPORT_OK\n") >except BaseException as e: > os.write(1, ("TYPE=" + type(e).__name__ + "\n").encode("ascii", "backslashreplace")) > os.write(1, ("MSG=" + ascii(str(e)) + "\n").encode("ascii", "backslashreplace")) > os.write(1, traceback.format_exc().encode("ascii", "backslashreplace")) >end TYPE=ImportError MSG='DLL load failed while importing binascii: \u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6a21\u5757\u3002' Traceback (most recent call last): File "", line 3, in ImportError: DLL load failed while importing binascii: \u627e\u4e0d\u5230\u6307\u5b9a\u7684\u6a21\u5757\u3002 set charset UTF-8 set charset