-
Notifications
You must be signed in to change notification settings - Fork 2
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
Errors while trying to install pyluxafor #11
Comments
Hi, |
Hey MagicMuschrum, no problem at all! Can you try installing pyusb 1.1.1 (latest) on your environment and see if it works? I'm unsure why isn't in the requirements and only on the setup.py since I haven't working on this for a while now, but maybe the newer version is required. I have no experience running python on windows either nor I have my luxafor to make tests anymore. So I can try to assist you to the best of my abilities but I can't make much testing myself :( |
Hi, sorry that it took me so long to answer. Thank you for your kind answer. I updated to pyusb 1.1.1 and changed to the version in setup.py and reinstalled, but it did not change anything, meaning that "Luxafor flag not found" persists. I could update some other tools, but I doubt that it would change much. I guess I have to find a solution to make Windows recognize the flag. |
Since usb controls are limited to root, you need to use |
Hi,
very sorry to bother you with this "issue", since I strongly believe that I just screwed up by not doing sth or doing sth wrong, but I spent all afternoon trying to get this running, and I still get the same error.
I am currently on a Win8 system but wanted to actually use it on a MacOS later on and since I am not allowed to use the official software from Luxafor, due to http calls etc. I thought this python tool would suit me, in order to address the luxafor flag locally. So, I hoped (before I do things on the company's Mac) to get pyluxafor running through python, here on my Win8.
My Python skills are still in development, so I might just have missed sth important.
I am running Python 3.7 over Visual Studio 2019. I do not have any other Luxafor software installed, as I think/hope that I do not need it, due to above specified reasons.
I tried to install all the necessary plugins and tool (screenshot) and also tried it without Visual Studio but I do not get around the error that tells me that cannot import name 'luxafor' from 'luxafor'.
When I try to import directly in the python CLI, as you detailed in "using as a library", I get the error message after lux = luxafor.Luxafor() -> NoBackendError.
I also googled these errors and tried to have pyusb and libusb dlls etc. installed/copied correctly.
So, if this is an "you cannot fix stupid" kind of question or go read more basic books on Python, etc. - please excuse me from taking your time - but maybe you have a hint or two for me, on how to get this running.
Thank you.
Sincerely
magic-muschrum
The text was updated successfully, but these errors were encountered: