-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named evdev #5
Comments
sounds like evdev didn't install correctly. in the command line, try this:
if it installs, then great! restart gpionext with the command
if you get the message
then we'll have to dig a bit further |
You were right, the problem was a bad evdev installation. |
nah, It's no problem. Eventually I'd like to rewrite the installer so that it runs checks for this kind of stuff. |
I also seem to be getting this error, unfortunately for me sudo pip3 install evdev gives me "sudo: pip3: command not found" I've tried every method I can find online to install pip3 but nothing I do seems to work. It's as if it can't find anything pip or pip3 related in the repository or something. I'm running Raspbian for a retropi project i'm building. Any help you could give would be much appreciated. |
try this and let me know any errors that it outputs.
|
Thanks very much for helping me out. Unfortunately this is what I get ; Reading package lists... Done E: Unable to locate package python3-pip Thanks Again |
ok, make sure that your APT repositories are up to date:
then run |
Well, I got further than before. sudo apt-get update - was already up to date After the upgrade I then was able to install python3-pip, but not python3-dev. When I try to run gpionext configure I now get a different error; Traceback (most recent call last): I tried sudo apt-get install libsqlite3-dev, but got this; If it helps I check the repo links and uncommented the bottom ones (online forum advice for someone else with a similar problem: deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi Uncomment line below then 'apt-get update' to enable 'apt-get source'deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi Thanks again, I know I'm a pain. |
Also tried this; sudo pip3 install sqlite3 sudo pip3 install libsqlite3 |
you have packages missing from your install, you need to install the python3-dev If you are interested, your sources list is located at /etc/apt/sources.list |
I checked those before I posted and both /etc/apt/sources.list & sources.list.d seem to be what they should be. Thanks for your help, I guess I'll try wiping Raspbian & starting from scratch. |
ok, yeah, it seems like something must have messed up on the initial install. I think that you are correct, a fresh install is probably the best course of action. |
I started from scratch, no idea what happened with the first install I did but GPIOnext works perfectly now. Thanks very much for your help & time. Thanks for GPIOnext too, it's great and will save me a lot of extra work!! |
Great! Glad it's working now! |
After the installation, when I try to config, I obtain this error:
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'
I'm trying to install it on retropie (last version) on a rpi3
The text was updated successfully, but these errors were encountered: