solrobson / le-potato-pi

Porting RPi.GPIO for Libre Le Potato
MIT License
4 stars 3 forks source link

import failed #3

Open DonSchenck opened 1 year ago

DonSchenck commented 1 year ago

I had to use this:

import LePotatoPi.GPIO.GPIO as GPIO

THIS ^^ worked

MarcoKurepa commented 1 year ago

Hey, I had the same issue and this didn't help. Got the same no module error.

DonSchenck commented 1 year ago

Did you run pip install le-potato-pi at the command line first?

MarcoKurepa commented 1 year ago

Yes, I checked pip list to be sure as well.

MarcoKurepa commented 1 year ago

Actually, apologies I used a different command i found on the PyPi. Give me a moment let me try that.

MarcoKurepa commented 1 year ago

Alright, it could not find the library unfortunately. I used the following command (successfully according to pip list): pip install LePotatoPi.GPIO

DonSchenck commented 1 year ago

Sorry, my bad. Is it working for you now?

MarcoKurepa commented 1 year ago

No unfortunately not. And no worries at all, thanks for your time!

MarcoKurepa commented 1 year ago

Also sorry for the sparse responses, busy day!

MarcoKurepa commented 1 year ago

Hey Don, still around?

DonSchenck commented 1 year ago

Always

MarcoKurepa commented 1 year ago

Any other ideas for how to fix the failure to import?

MarcoKurepa commented 1 year ago

Never mind, it's fixed!