-
Notifications
You must be signed in to change notification settings - Fork 22
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
Windows Support? #43
Comments
Internally autohooks uses blessings to provide colorization of the console output. After looking at it I don't think it supports Windows :-/ Personally I am not able to write any code for Windows because my knowledge about it is very small. And I also don't have access to any Windows system. But this doesn't mean autohooks shouldn't get support for Windows. I am only relying on PRs from external contributors. |
As far as I know curses should be at least importable at windows. Could you paste the whole taceback? Maybe it is already possible to support windows by using https://github.com/tartley/colorama |
FYI, I am using
|
Could you do me a favor and just run |
Sure. Here is the trace back:
|
ok. I've done some research. Python in windows doesn't support curses. It seems you need to install an additional library to get it working https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses From https://docs.python.org/3/howto/curses.html#curses-howto
|
Hmm maybe blessings doesn't work at all on windows erikrose/blessings#21 |
(FWIW, blessed, a fork of blessings, does work on windows) |
autohooks/terminal.py depends on the curses package, which I believe is not supported on Windows. When I run the command
poetry run autohooks activate
,I receive the error
ModuleNotFoundError: No module named _curses
.Am I suppose to use a different command to activate the git hooks on Windows?
The text was updated successfully, but these errors were encountered: