-
Notifications
You must be signed in to change notification settings - Fork 41
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
Support Windows? #185
Comments
Hi,
|
I used cmd " pip install homekit". When I try python -m homekit.discover, here's the log: Traceback (most recent call last): |
Mh interesting point, looks like the crypt module is not available on windows (https://docs.python.org/3/library/crypt.html). Because only |
Yes. Might choose a cross-platform python lib. |
It looks like https://cryptography.io/en/latest/random-numbers/ It should be fine to replace mksalt with:
On python 3.6 and later an option would be:
No new libraries required. |
@Jc2k sounds good, this should be the solution. |
Hey @a3135134, can you try with branch |
I placed the homekit directory into python lib. python -m homekit.discover I tried pip install tlv8. Here's a different error |
Fixed the issue with Is there nothing behind the |
close was not intended? |
I think this is another problem. I'll have a check first |
So I was able to install homekit_python on a win 10 VM.
Results: One of my accessories is found
|
@a3135134 does this work for you? |
I use win 10 and install this python module. However, it raises ModuleNotFoundError: No module named '_crypt' . It seems _crypt only work on Unix/Linux, so this library also only support Linux?
The text was updated successfully, but these errors were encountered: