Python Forum

Full Version: pyahk not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im sorry if this is in the wrong place, please delete if it is:
Whenever i try to "pip install pyahk" it gives this error:
ERROR: Command errored out with exit status 1:
command: 'c:\users\User\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-tt33d3er\\pyahk\\setup.py'"'"'; __file__='"'"'C:\\Users\\ User\\AppData\\Local\\Temp\\pip-install-tt33d3er\\pyahk\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\User\AppData\Local\Temp\pip-install-tt33d3er\pyahk\pip-egg-info'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-tt33d3er\pyahk\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-install-tt33d3er\pyahk\setup.py", line 3, in <module>
import ahk
File "C:\Users\User\AppData\Local\Temp\pip-install-tt33d3er\pyahk\ahk\__init__.py", line 7, in <module>
from script import Function, Script
ModuleNotFoundError: No module named 'script'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

There is no info online, any ideas?
Did you read the docs?:
Written for Python2.7, not currently py3k compatible.

And you are trying to install it on 3.8
(Feb-18-2020, 01:13 PM)buran Wrote: [ -> ]Did you read the docs?:
Written for Python2.7, not currently py3k compatible.

And you are trying to install it on 3.8

Is there a way to downgrade back to python2.7 in order to use this, and keep 3.8 installed for future projects? or will i need to entirely uninstall python3.8 and then reinstall down the line?
this is recent and I think does same things: https://pypi.org/project/ahk/

The module that you are trying to use id 7 years old,