mholgatem / GPIOnext

The next evolution of GPioneer! Create virtual gamepads with your GPIO pins!
MIT License
134 stars 37 forks source link

Raspberry pi 3 -- RPi.GPIO error #48

Closed Tailslide closed 3 years ago

Tailslide commented 3 years ago

Install Complete! Would you like to run the configuration manager now? [y/n]Install Complete! Would you like to run the configuration manager now? [y/n]y Traceback (most recent call last): File "/home/pi/GPIOnext/config_manager.py", line 15, in from config import gpio, menus, SQL File "/home/pi/GPIOnext/config/gpio.py", line 2, in import RPi.GPIO as GPIO RuntimeError: This module can only be run on a Raspberry Pi! -------------> Setup Complete!

Tailslide commented 3 years ago

This solved it for me:

sudo apt-get purge python{,3}-rpi.gpio sudo -H pip2 install --upgrade pip sudo -H pip3 install --upgrade pip Install RPi.GPIO from updated pip:

python -m pip install RPi.GPIO python3 -m pip install RPi.GPIO

Devenhulk123 commented 1 year ago

Hey I have sorta the same problem and I'm wondering if you could help me this is what it says 20230720_125600 I copied an 20230720_125550 D pases these codes