<div dir="ltr"><div dir="ltr"><span style="background-color:rgb(254,254,254)"><div><span style="color:rgb(0,0,0);font-family:sans-serif">OS:  Ubuntu-Mate 18.04, no virtual environment</span><br></div><div><font color="#000000" face="sans-serif">Python: 2.7 and 3.5.2</font></div><div><font color="#000000" face="sans-serif">RPi.GPIO: 0.6.3</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">Hellow RPi.GPIO Maintainer,</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">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.</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">So, in search for a solution, I found the list of names in the RPi folder and copied the  _<a href="http://GPIO.cpython-36m-arm-linux-gnueabihf.so">GPIO.cpython-36m-arm-linux-gnueabihf.so</a> 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.</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">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.</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">cd /usr/lib/python3/dist-packages</font></div><div><font color="#000000" face="sans-serif">sudo cp <a href="http://apt_pkg.cpython-36m-arm-linux-gnueabihf.so">apt_pkg.cpython-36m-arm-linux-gnueabihf.so</a> apt_pkg.so</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">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.</font></div><div><font color="#000000" face="sans-serif"><br></font></div><div><font color="#000000" face="sans-serif">All the best,</font></div><div><font color="#000000" face="sans-serif">Frank Gould</font></div><div style="color:rgb(0,0,0);font-family:sans-serif"><br><br></div></span></div></div>