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

[BUG] python not import modules #8858

Closed
dga4130-renato opened this issue May 4, 2024 · 3 comments
Closed

[BUG] python not import modules #8858

dga4130-renato opened this issue May 4, 2024 · 3 comments

Comments

@dga4130-renato
Copy link

Rpi4
Installed le13 04.05.2024 nightly where smbus python module should be fixed but seems the same problem as le12 release

Libreelec:~ # python
Python 3.11.9 (main, May 4 2024, 12:08:04) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

        import smbus
        Traceback (most recent call last):
        File "", line 1, in
        ModuleNotFoundError: No module named 'smbus'

If use export pythonpath option to reach private.lib path you can import smbus.so but not RPiO.GPIO .

Quit a problem because you can't control fan voltage without these modules.

@heitbaum
Copy link
Contributor

heitbaum commented May 5, 2024

Hi @dga4130-renato the fix is in the updated system-tools -12.0.0.1 (not the nightly image) please check your addon version. The smbus.so will be in lib (not lib.private)

@heitbaum
Copy link
Contributor

heitbaum commented May 5, 2024

@heitbaum heitbaum closed this as completed May 5, 2024
@heitbaum
Copy link
Contributor

heitbaum commented May 5, 2024 via email

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

No branches or pull requests

2 participants