-
Notifications
You must be signed in to change notification settings - Fork 26
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
Installing into a Python virtual environment? #24
Comments
I'm afraid my knowledge of Python is limited and my knowledge of Python virtual environments (venvs) is non-existent. Have a look through https://forums.raspberrypi.com/viewtopic.php?t=358841 |
There should now be wheels available for the lgpio and rgpio projects on PyPI that should work on the armhf architecture. I'm still working on aarch64 builds as PyPI refuses to accept wheels for aarch64 unless they're tagged "manylinux". Unfortunately building those is proving trickier than expected because all the pre-baked containers have linux headers that are too old, so I'm going to need to bake my own build environment for that. |
Well, that took a bit more effort than expected but there should now be statically linked wheels for armv7l and aarch64 on PyPI for CPython versions 3.9 thru 3.12. |
Hi Joan, Can Lgpio function on Ubuntu 22.04, or is it exclusively compatible with 21.04? Thank you! Kind regards, |
It should function happily on ubuntu 22.04, either installed as a system package ( Incidentally, if you do find a problem with lg on ubuntu (when installed as a system package), please feel free to file a bug under the lg-gpio package (unfortunately I wasn't allowed to just call it "lg"). If it's a packaging issue, that's my fault, and I can deal with it there without bugging upstream here! :) |
@joan2937 Do you have an example (or any previous experience) installing this into a Python virtual environment? I tried various modifications of your makefile, but I haven't been successful. Since virtual environments are a standard way of installing packages, it would seem like a nice enhancement of what you have here.
The text was updated successfully, but these errors were encountered: