Skip to content

Installing 0.2.2.0 or 0.2.0.0 from the tar.gz files does not appear to work. #1

Open
@Skidude240

Description

@Skidude240

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.

image

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.

image

I noticed this when i downloaded, unpacked and installed the package.

image

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.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions