logitech / logipy Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
i get an error like this:
Traceback (most recent call last):
File "C:\Users\Diva Creative.conda\envs\tensorenviron\lib\site-packages\logipy\logi_led.py", line 237, in
led_dll = load_dll()
File "C:\Users\Diva Creative.conda\envs\tensorenviron\lib\site-packages\logipy\logi_led.py", line 234, in load_dll
raise SDKNotFoundException('The SDK DLL was not found.')
TypeError: SDKNotFoundException() takes no arguments
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bgled.py", line 1, in
from logipy import logi_led
File "C:\Users\Diva Creative.conda\envs\tensorenviron\lib\site-packages\logipy\logi_led.py", line 238, in
except SDKNotFoundException as exception_sdk:
TypeError: catching classes that do not inherit from BaseException is not allowed
When using pytest, the code runs normally, but there is no effect when executing the code with the Python command.
On Windows 7 32-bit logi_led.py fails because of missing ProgramW6432 environment variable.
See log below:
c:\Users\ogay\Desktop\logiPy>c:\Python27\python.exe bla.py
Traceback (most recent call last):
File "bla.py", line 4, in
from logipy import logi_led
File "c:\Users\ogay\Desktop\logiPy\logipy\logi_led.py", line 234, in
led_dll = load_dll()
File "c:\Users\ogay\Desktop\logiPy\logipy\logi_led.py", line 226, in load_dll
subpath_lgs = os.environ['ProgramW6432'] if os.environ['ProgramW6432'] else os.environ['ProgramFiles']
File "c:\Python27\lib\os.py", line 425, in getitem
return self.data[key.upper()]
KeyError: 'PROGRAMW6432'
c:\Users\ogay\Desktop\logiPy>
File "C:/Users/####/Desktop/ARX TEST.py", line 1, in
from logipy import logi_arx
File "C:\Users####\AppData\Local\Programs\Python\Python36\lib\site-packages\logipy\logi_arx.py", line 55
print '\n[Arx] default_callback called with: event_type = {event_type}, event_value = {event_value}, event_arg = {event_arg}, context = {context}'.format(
Hi,
this looks like a great project! However, there has not been an update for a few years now so I wonder whether this code still actually works.
I wanted to control the LEDs of my logitech mouse and keyboard in Python. This was the only project I came across. Somehow, I could not make it work. Is there still someone maintaining this?
What would also be great is a few instructions on how to install the dependencies this project needs. I struggled to get Logitech Gaming Software to work on my computer (it would not detect any peripherals).
Thank you
Alexander
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.