Hi everyone
I'm trying to use python to drive my cec compatible equipement.
but when I import the CEC LIB,
Traceback (most recent call last):
File "./tvs.py", line 3, in <module>
import cec
File "/usr/lib/python2.7/site-packages/cec/__init__.py", line 21, in <module>
_cec = swig_import_helper()
File "/usr/lib/python2.7/site-packages/cec/__init__.py", line 20, in swig_import_helper
return importlib.import_module('_cec')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
ImportError: No module named _cec
apres quelque recherche il semble que cela viens du fichier _cec.so qui ne se trouve pas dans le bon dossier.
after some research it seeems that the file _cec.so is not in the right folder.
currently the file is in /user/lib/python2.7/site-packages/cec
or it should be in /user/lib/python2.7/site-packages/ (if what I found in the net is true.)
of course I can move the file because all this is read only file system
so what can be done?