Comments (14)
sounds like evdev didn't install correctly. in the command line, try this:
sudo pip3 install evdev
if it installs, then great! restart gpionext with the command
gpionext start
if you get the message
Requirement already satisfied: evdev in /usr/local/lib/python3.5/dist-packages
then we'll have to dig a bit further
from gpionext.
You were right, the problem was a bad evdev installation.
Sorry for the false issue reported
from gpionext.
nah, It's no problem. Eventually I'd like to rewrite the installer so that it runs checks for this kind of stuff.
from gpionext.
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.
from gpionext.
try this and let me know any errors that it outputs.
sudo apt-get install python3 python3-pip python3-dev gcc
from gpionext.
Thanks very much for helping me out. Unfortunately this is what I get ;
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package python3-pip
E: Package 'python3-dev' has no installation candidate
Thanks Again
from gpionext.
ok, make sure that your APT repositories are up to date:
sudo apt-get update
sudo apt-get dist-upgrade
then run
sudo apt-get install python3-dev python3-pip
from gpionext.
Well, I got further than before.
sudo apt-get update - was already up to date
sudo apt-get dist-upgrade - this did a fair amount (I had been trying sudo apt-get upgrade no "dist-"
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):
File "/home/pi/GPIOnext/config_manager.py", line 10, in
import sqlite3
File "/usr/local/lib/python3.7/sqlite3/init.py", line 23, in
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.7/sqlite3/dbapi2.py", line 27, in
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
I tried sudo apt-get install libsqlite3-dev, but got this;
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libsqlite3-dev
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.
from gpionext.
Also tried this;
sudo pip3 install sqlite3
Collecting sqlite3
Could not find a version that satisfies the requirement sqlite3 (from versions: )
No matching distribution found for sqlite3
sudo pip3 install libsqlite3
Collecting libsqlite3
Could not find a version that satisfies the requirement libsqlite3 (from versions: )
No matching distribution found for libsqlite3
from gpionext.
you have packages missing from your install, you need to install the python3-dev
but it sounds like your sources list is borked, which is out of scope for this trouble-shooting.
If you are interested, your sources list is located at /etc/apt/sources.list
from gpionext.
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.
from gpionext.
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.
from gpionext.
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!!
from gpionext.
Great! Glad it's working now!
from gpionext.
Related Issues (20)
- Not working with an SPI connected joystick HOT 5
- SPI screen freezes right before starting Emulation Station on Retropie HOT 3
- GPIOnext doesnโt save configuration HOT 10
- Buttons sticking HOT 1
- GPIOnext and sudo commands not working correctly HOT 4
- Button combos not working HOT 4
- Buttons not detected as gamepad HOT 6
- Configuration not saving HOT 1
- Support for GPIO expanders? HOT 2
- install.sh can't run without internet HOT 2
- 'dtoverlay=act-led,gpio=4' makes "gpionext config" to fail HOT 14
- RetroPie Not Recognizing New Gampad HOT 2
- Install fails as per Jaycar instructions. Help. :) HOT 5
- Only two inputs work HOT 5
- Gamepads Detected but only Keyboard controls
- ModuleNotFoundError: No module named evdev HOT 5
- gpionext config doesn't detect gpio inputs HOT 3
- Gpio next syntax error raspberry pie 3 emulation station HOT 16
- Buttons effectively 'sticking' on - not detecting signal change HOT 1
- unable to map 2 player controlls on the same controller HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpionext.