om屏蔽python差异

This commit is contained in:
jianghongbo
2023-02-26 15:15:59 +08:00
parent f5f26bf151
commit 356e88ee0e
4 changed files with 5 additions and 20 deletions

View File

@ -64,7 +64,7 @@ try:
import psutil
except ImportError as e:
# mv psutil mode .so file by python version
pythonVer = sys.version[:3]
pythonVer = str(sys.version_info[0]) + '.' + str(sys.version_info[1])
psutilLinux = os.path.join(localDirPath,
"./../../../lib/psutil/_psutil_linux.so")
psutilPosix = os.path.join(localDirPath,