dc740 / AutoHotPy

AutoHotKey replacement using Incerception driver
GNU Lesser General Public License v3.0
59 stars 23 forks source link

WinError 193 #18

Open MagusDickus opened 2 years ago

MagusDickus commented 2 years ago

I keep getting this error while trying to run the examples, i have tried to reinstall python and interception but it didn't work

C:\Users\MagusDickus\Downloads\AutoHotPy-master\AutoHotPy-master>python3 Example1-GameCombo.py Traceback (most recent call last): File "C:\Users\MagusDickus\Downloads\AutoHotPy-master\AutoHotPy-master\Example1-GameCombo.py", line 50, in auto.start() #Now that everything is registered we should start runnin the program File "C:\Users\MagusDickus\Downloads\AutoHotPy-master\AutoHotPy-master\AutoHotPy.py", line 546, in start self.interception = InterceptionWrapper() File "C:\Users\MagusDickus\Downloads\AutoHotPy-master\AutoHotPy-master\InterceptionWrapper.py", line 171, in init self.interceptionDll = ctypes.WinDLL ("./interception.dll") File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.752.0_x64qbz5n2kfra8p0\lib\ctypes\init.py", line 374, in init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 193] %1 is not a valid Win32 application