Traceback (most recent call last):
File "<input>", line 1, in <module>
File "D:\Program Files\JetBrains\PyCharm 2021.2.3\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "D:\Program Files\JetBrains\PyCharm 2021.2.3\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/11399/OneDrive - International Campus, Zhejiang University/Code/Python/Pytorch/OpenKE-OpenKE-PyTorch/train_transe_FB15k237.py", line 9, in <module>
train_dataloader = TrainDataLoader(in_path="./benchmarks/FB15K237/",
File "C:\Users\11399\OneDrive - International Campus, Zhejiang University\Code\Python\Pytorch\OpenKE-OpenKE-PyTorch\openke\data\TrainDataLoader.py", line 43, in __init__
self.lib = ctypes.cdll.LoadLibrary(base_file)
File "C:\Users\11399\AppData\Local\Programs\Python\Python38\lib\ctypes\__init__.py", line 451, in LoadLibrary
return self._dlltype(name)
File "C:\Users\11399\AppData\Local\Programs\Python\Python38\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 不是有效的 Win32 应用程序。重新添加了intepreter,但好像还是不行,具体是要重装哪些包吗
这个应该是代码问题,具体要分析一下你的代码才行
改成Python 32位的好像是