Skip to content
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

Python module not working on windows #649

Open
ja-ha opened this issue Nov 8, 2023 · 0 comments
Open

Python module not working on windows #649

ja-ha opened this issue Nov 8, 2023 · 0 comments

Comments

@ja-ha
Copy link

ja-ha commented Nov 8, 2023

Hi, I'm trying to get this running on windows with python3.12.
It seems to import the correct module (provided by the libcec installer) but for some reason I can't actually use it.

PS C:\Program Files (x86)\Pulse-Eight\USB-CEC Adapter\python> python .\pyCecClient.py
<module 'cec' from 'C:\\Program Files (x86)\\Pulse-Eight\\USB-CEC Adapter\\python\\cec\\__init__.py'>
Traceback (most recent call last):
  File "C:\Program Files (x86)\Pulse-Eight\USB-CEC Adapter\python\pyCecClient.py", line 38, in <module>
    class pyCecClient:
  File "C:\Program Files (x86)\Pulse-Eight\USB-CEC Adapter\python\pyCecClient.py", line 39, in pyCecClient
    cecconfig = cec.libcec_configuration()
                ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'cec' has no attribute 'libcec_configuration'

I have verified that there are no other libcec packages installed.

What am I missing here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant