[Pkg-raspi-maintainers] Debian Report

Frank Gould fgould at cfl.rr.com
Thu Oct 25 15:24:56 BST 2018


OS:  Ubuntu-Mate 18.04, no virtual environment
Python: 2.7 and 3.5.2
RPi.GPIO: 0.6.3

Hellow RPi.GPIO Maintainer,

I spent a few hours to find a solution to a couple problems I encountered
when attempting to use RPi.GPIO with python3. Using the same app I wrote in
Python 2 that runs successfully, my app generated a missing RPi.GPIO file
to import, and after installing RPi.GPIO successfully, my app generated a
missing RPi._GPIO file to import.

So, in search for a solution, I found the list of names in the RPi folder
and copied the  _GPIO.cpython-36m-arm-linux-gnueabihf.so to just _GPIO.so
and my app worked. I also reported this as a bug using ubuntu-bug but there
was no way to leave any comments about my fix.

The reason I chose to attempt this copy solution was that I found another
apt-get install error that generated a missing apt_pkg.so file and below
was the solution to that error. I found that solution on a forum somewhere.

cd /usr/lib/python3/dist-packages
sudo cp apt_pkg.cpython-36m-arm-linux-gnueabihf.so apt_pkg.so

Thank you for all your work. I'm glad to be able to make it work for my
project. Please let me know if there is anything else I can provide or
where I can post this info for others to use as a work-around. I took notes.

All the best,
Frank Gould
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-raspi-maintainers/attachments/20181025/734bb9db/attachment.html>


More information about the Pkg-raspi-maintainers mailing list