Closed aliyahqayum closed 2 years ago
I think instructions are here: https://github.com/mholgatem/GPIOnext#how-to-install There is a script that does everything (or can be read to do equivalent steps).
I think instructions are here: https://github.com/mholgatem/GPIOnext#how-to-install There is a script that does everything (or can be read to do equivalent steps).
Right but we are getting this issue when cloning the repository. What is the script that does everything?
I’m not a maintainer here, just a bystander trying to be helpful. The instructions are right at the end of the link I shared.
By the looks of it, this is after you've already cloned the repository and are now trying to run gpionext. It looks like either evdev didn't install correctly or it didn't get added to the modules list.
First, check to see if evdev is installed
sudo pip3 install evdev
if that is installed, you next want to check to make sure the module is getting loaded.
sudo nano /etc/modules
if evdev is not listed, add it on it's own line at the end of the file. save and exit.
reboot and hopefully you are up an running. If not, come back with any errors that you are getting. I probably won't check back until Monday at the earliest though.
When running
sudo pip3 install evdev
We found that we didn't have python installed. We attempted to install it using:
sudo apt install python3-pip
But the retropi doesn't have enough space to download all the packages. We tried installing python 2.7 instead, but that didn't work either.
Does it have to be installed system-wide? If not, you could use standard capabilities of Python: python3 -m venv .venv
then .venv/bin/pip install evdev
Still taking up too much space :( We need more than 2kb but we only have 16gb
??? 2kb is less than 16gb.
Half way through installing I get a message asking if the additional packages and modules can continue installing (which takes up the rest of the 2kb). We answer yes so we don’t run into any other issues caused by missing packages and / or modules. This results in the issue we are facing with the lack of storage.
Module Not Found Error
After trying to configure GPIO pins using GPIO next, we are getting an error that the EvDev module is not found. What can we run to ensure all modules have been downloaded?