You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Illegal instruction on import on raspberry pi after pip install #60
That's weird. I released version 0.2.8 to pypi recently, so the version that you install through pip and the source version should be the same.
(I assume your default python interpreter is python 3)
I wonder if you're importing a different version of the cec module from the one that was installed through pip. libcec has recently started shipping their own module, also named cec.
To see which path it's trying to import, run:
python -c "import pkgutil; c = pkgutil.get_loader('cec'); print(c.path);"
If that isn't from /usr/local/python , then you're probably getting a different package.
Activity
trainman419 commentedon Jan 16, 2022
That's weird. I released version 0.2.8 to pypi recently, so the version that you install through pip and the source version should be the same.
(I assume your default python interpreter is python 3)
I wonder if you're importing a different version of the cec module from the one that was installed through pip. libcec has recently started shipping their own module, also named
cec.To see which path it's trying to import, run:
If that isn't from /usr/local/python , then you're probably getting a different package.