Witam, jak zainstalować moduł PyHook na Python 3.7(64bit). Mój komputer posiada Windows 7(64 bit). Przy próbie instalacji przez PIP wyskakuje błąd:
C:\Users\****>pip install pyhook3
Collecting pyhook3
Using cached https://files.pythonhosted.org/packages/d2/e9/01e84a297a83e826978
ca917e9ee538b86924c6235b656f3cc81950cda44/PyHook3-1.6.1.tar.gz
Installing collected packages: pyhook3
Running setup.py install for pyhook3 ... error
Complete output from command c:\users\****\appdata\local\programs\python\py
thon37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\****\
\AppData\\Local\\Temp\\pip-install-fsxg_yvo\\pyhook3\\setup.py';f=getattr(tokeni
ze, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(c
ompile(code, __file__, 'exec'))" install --record C:\Users\*****\AppData\Local\T
emp\pip-record-c98xoisz\install-record.txt --single-version-externally-managed -
-compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\PyHook3
copying aa hook.py -> build\lib.win-amd64-3.7\PyHook3
copying cpyHook.py -> build\lib.win-amd64-3.7\PyHook3
copying doc.py -> build\lib.win-amd64-3.7\PyHook3
copying example.py -> build\lib.win-amd64-3.7\PyHook3
copying HookManager.py -> build\lib.win-amd64-3.7\PyHook3
copying setup.py -> build\lib.win-amd64-3.7\PyHook3
copying __init__.py -> build\lib.win-amd64-3.7\PyHook3
running build_ext
building 'PyHook3._cpyHook' extension
swigging cpyHook.i to cpyHook_wrap.c
swig.exe -python -o cpyHook_wrap.c cpyHook.i
error: command 'swig.exe' failed: No such file or directory
----------------------------------------
Command "c:\users\****\appdata\local\programs\python\python37\python.exe -u -c
"import setuptools, tokenize;__file__='C:\\Users\\*****\\AppData\\Local\\Temp\\p
ip-install-fsxg_yvo\\pyhook3\\setup.py';f=getattr(tokenize, 'open', open)(__file
__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, '
exec'))" install --record C:\Users\****\AppData\Local\Temp\pip-record-c98xoisz\
install-record.txt --single-version-externally-managed --compile" failed with er
ror code 1 in C:\Users\****\AppData\Local\Temp\pip-install-fsxg_yvo\pyhook3\
Proszę o pomoc. Pozdrawiam.