mholgatem / GPIOnext

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

No module named evdev #60

Closed Jackslayerr closed 2 years ago

Jackslayerr commented 2 years ago

I’ve been trying to get GPIOnext working for hours and when I try to configure GPIOnext it says there’s no module names evdev. I’ve seen the issue posted multiple times in this project but I tried everything from all of them to try to fix this but nothing works. A couple things I’ve noticed was that while downloading something it said there was a error 404 link for the and that I was missing some things. I’ve also seen some people say a stock retropie version works, is that just an older version? Because I tried to use and older version but it didn’t work.

merwok commented 2 years ago

while downloading something it said there was a error 404 link

I was missing some things

Please give useful details to make bug reports actionable! What commands you types, what full error message you got.

Jackslayerr commented 2 years ago

while downloading something it said there was a error 404 link

I was missing some things

Please give useful details to make bug reports actionable! What commands you types, what full error message you got.

Thanks for the Reply! I got the error running the command “sudo apt install python-pip” in an attempt to fix the issue. Here’s the output, towards the bottom is where it gives me the 404 error

198152A0-C2C5-45CC-A87D-B765D1D4AB37

merwok commented 2 years ago

Have you tried one of the two suggestions in the last line of the error message?

Jackslayerr commented 2 years ago

The first suggestion didn’t do anything because apparently my access was denied and I didn’t understand the second suggestion.

4056BA45-DD13-437A-9833-01B063D9BA79

merwok commented 2 years ago

You have to run system administration commands as root (using sudo)

Jackslayerr commented 2 years ago

Ok that time it worked (Sorry I’m a bit a new to this stuff) I’m still getting that 404 message when trying to install python. What was the second suggestion?

merwok commented 2 years ago

Can you show that error message?

Jackslayerr commented 2 years ago

Can you show that error message?

6B22BBBA-3E65-4575-814D-0F72CBCA5DF1

merwok commented 2 years ago

Actually, there is an install.sh script in this repo that does apt update and more — can you use it?

Jackslayerr commented 2 years ago

Actually, there is an install.sh script in this repo that does apt update and more — can you use it?

I thought I tried it but what’s the command?

merwok commented 2 years ago

It is an executable script, so ./install.sh

Jackslayerr commented 2 years ago

This is what I got

465589B7-3C7B-4696-A609-BEF90AD9B779

merwok commented 2 years ago

It’s in the gpionext repository, so you have to run that command from your clone of it Follow https://github.com/mholgatem/GPIOnext#how-to-install

Jackslayerr commented 2 years ago

It’s in the gpionext repository, so you have to run that command from your clone of it Follow https://github.com/mholgatem/GPIOnext#how-to-install

I’ve tried everything but still nothing. I heard someone say they just got a stock version of Retropie. What other image could I get?

Jackslayerr commented 2 years ago

So I was able to finally get it working. I went and updated Retropie within the OS and a bunch of stuff downloaded and I tried GPIOnext again and it worked! I hope I helped other people with this issue.

mholgatem commented 2 years ago

Hey, I'm glad that you were able to get it working. Sorry I was unavailable for the last week.

For anyone that comes across this problem in the future, my guess would be that the Debian/Ubuntu distribution that your retropie image used was old. Ubuntu gives it's releases a shelf life. After that, it migrates its packages to a new location to ensure that you aren't mixing old releases with new. You can typically fix this by updating the current distribution using the following command:

sudo apt-get dist-upgrade

or you can update your packages list with the new sources by editing:

/etc/apt/sources.list

Happy Gaming!

naenaejeff commented 9 months ago

its not working for me, and that file is read only, im not sure how to edit it? any help?

merwok commented 9 months ago

To get help, you need to say what you did (copy the exact command) and what you got (copy the full error message) Otherwise you are asking for mind reading 😅