You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm. Could you tell me what version of Python you are using?
A few things might be going on here... the most common issue would be that the Scripts directory is not on PATH or you have multiple versions of Python and have installed the package to a different interpreter.
Using a virtualenv is the most reliable way to test this.
Type these commands into the command prompt to create a virtualenv and see if you get the same error:
If it still shows an error, check the contents of venv\Scripts -- AutoHotkey.exe should appear there after installing ahk-binary. If not, then something might be wrong on my end.
So, using a venv did end up working, so it seems it's a problem in my environment. I thought it wasn't because I was able to import ahk-binary too so I figured if it could see ahk-binary, then it should be all set. If I had to guess, it might be something related to having both Python 3.9 and 3.8 on my PATH (my test was done in 3.9 though).
Anyway, thanks for your help, and sorry for the bother!
I'm trying to get
ahk
to work with theahk-binary
package, and testing whether it works with this simple snippet:But I still get a
ExecutableNotFoundError
. Am I doing something wrong? I'm on Windows 11 and do have pip on my path.The text was updated successfully, but these errors were encountered: