-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win11运行报错 #31
Comments
确保使用正确的python版本,别用conda或者winstore安装的,从官网下python管理员安装,关掉防毒之类 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在win11下使用python11运行 python act_ws.py 会报错。
Traceback (most recent call last):
File "D:\mods\GBF\GBFR-ACT\injector.py", line 1591, in get_python_base
return self.get_ldr_data(PYTHON_DLL).DllBase
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mods\GBF\GBFR-ACT\injector.py", line 1468, in get_ldr_data
raise KeyError(f'dll {dll_name!r} not found')
KeyError: "dll 'python311.dll' not found"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\mods\GBF\GBFR-ACT\act_ws.py", line 773, in
main()
File "D:\mods\GBF\GBFR-ACT\act_ws.py", line 764, in main
process.injector.wait_inject()
File "D:\mods\GBF\GBFR-ACT\injector.py", line 1255, in wait_inject
self.logger.debug(f"python base {self.process.get_python_base(True):#x}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mods\GBF\GBFR-ACT\injector.py", line 1594, in get_python_base
base = self.load_library(Process.current.get_ldr_data(PYTHON_DLL).FullDllName.value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\mods\GBF\GBFR-ACT\injector.py", line 1521, in load_library
if err := self.read_u32(result_at): raise ctypes.WinError(err)
^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied.
安装pywin32也不能解决
The text was updated successfully, but these errors were encountered: