Giter Site home page Giter Site logo

py_lgpio's Introduction

(ノ◕ヮ◕)ノ*:・゚✧ Ahoy there!

By day I write C++/Python device libraries for Pimoroni and maintain our PicoSystem and 32blit software & communities. By night I'm an independent tech writer throwing words at Gadgetoid.com to see what sticks.

Pinout.xyz

I also maintain Pinout.xyz, your one stop shop for Raspberry Pi GPIO pinout information. Here's a heatmap of Raspberry Pi GPIO pin usage from the ~200 boards we've collated:

https://api.pinout.xyz/v1/img/pinout_heatmap.png

Pico.Pinout.xyz

Got a shiny new Raspberry Pi Pico? I also maintain a beautiful, interactive and (hopefully) accessible pinout for the Pico.

Pi 400 as a USB Keyboard

Want to turn your Raspberry Pi 400 into a USB HID keyboard? I've got you covered, too!

py_lgpio's People

Contributors

gadgetoid avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

okechukwu001

py_lgpio's Issues

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.