Cannot detect gamepad - gpionext config issues
-
I have been having issues detecting the gamepad when I installed Retropie onto a pre-set up arcade game system. After installing Retropie, I typed in:
gpionext config
The following error message is received:
Traceback (most recent call last):
File "/home/pi/GPIOnext/config_manager.py", line 14, in <module>
from evdev import ecodes as e
ImportError: No module named 'evdev'Does anyone know what the cause of the error is?
Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) B+
Power Supply used: (If using a Pi) Pi
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.14
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used)
USB Devices connected: Keyboard
Controller used: Keyboard
Error messages received: See above
Verbose log (if relevant):
Guide used: (Mention if you followed a guide) https://www.jaycar.com.au/medias/sys_master/images/images/9547966742558/XC9064-manualMain.pdf
File: (File with issue - with FULL path)
Emulator: (Name of emulator - if applicable)
Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
How to replicate the problem: -
@silk said in Cannot detect gamepad - gpionext config issues:
Does anyone know what the cause of the error is?
You're missing a Python package, which should be included in a RetroPie basic install and which - I assume - would also be installed by GPIOnext.
Did you follow the GPIOnext installation instructions before trying to configure it ? -
I have reinstalled it a number of time now. One thing I cannot do and I do not know if this will affect the outcome is that when I type
cd ~
instead of typing that, it types
cd ¬
and when I press enter, the following message appears:
-bash: cd: ¬: No such file or directory
I do not know if this means it is being installed in the wrong directory.
-
By default, you're already in the
~
folder (which is a shortcut for the user's home folder), so it shouldn't matter much.
Also by default, the keyboard layout in Raspberry Pi OS is set to UK, you can change it by runningsudo dpkg-reconfigure keyboard-configuration
and choosing an appropriate keyboard layout (English US).
Regarding the installation - are you sure you've run it correctly ? The
install.sh
script mentioned in the instructions should take care of installing the correct Python pre-requisites. -
Thanks for your help and patience.
I think you are right that there is an issue with the install.
When I type bash GPIOnext/install.sh the following messages appear:
Err http://mirrordirector.raspbian.org jessie In Release
Err http://archive.raspberrypi.org jessie In ReleaseErr http://archive.raspberrypi.org jessie Release.gpy
Could not resolve 'archive.raspberrypi.org'
Err http://mirrordirector.raspbian.org jessie Release.gpy
Could not resolve 'mirrordirector.raspbian.org'
Reading package list beginsThen there are list of failure.
Not sure what I am doing wrong.
-
@silk You're using a very old RetroPie version. Use the latest image from retropie.org.uk/download.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.