Description
I am currently trying to get GPIO access working on a RPi 5 in python running Ubuntu 23.10 server.
Before i started i checked that everything was working with the os python and i can import lgpio fine. Pip reports the version as 0.2.0.0.
I tend to use Pyenv and virtualenv to manage my python versions and projects to keep dependencies clean. So in a python 3.10.13 i used pip install lgpio
to install the module however pip installs version 0.0.0.2.
I tried forcing other versions but i can get 0.2.0.0 to install.
Next i tried installing from the tar.gz file directly. i tried both 0.2.2.0 and 0.2.0.0. In both cases the install works but the module cannot be imported. It appears that when installing from the tar.gz the module lgpio.py is not actually copied into the site packages.
I noticed this when i downloaded, unpacked and installed the package.
To double check i tried to install the same tar.gz file locally using pip install <path>/lgpio-0.2.2.0.tar.gz
and again the lgpio.py file was missing.