Closed Patrick257 closed 2 years ago
Because Python2 is obsolete and APT repository does not provide python-pip, so the Raspberry Pi OS releases which after 10 (Buster) 2020-08-20
cannot use Online install
command. We also recommend using Python3 to all the users and developers.
You can use these commands down below.
sudo apt install git build-essential -y
git clone https://github.com/Seeed-Studio/grove.py
cd grove.py
sudo -H python3 -m pip install .
So that you don't need to install mraa
and upm
packages.
Thanks!
However, if I don't install these packages, I'm not able to run the grove demos that require those packages. E.g.:
~/grove.py/grove $ python3 grove_3_axis_compass_bmm150.py
Traceback (most recent call last):
File "/home/pi/grove.py/grove/grove_3_axis_compass_bmm150.py", line 19, in <module>
from upm import pyupm_bmm150 as sensorObj
ModuleNotFoundError: No module named 'upm'
This problem is serious. We have been trying to deploy the environment. Please be patient。
Thank you, @IcingTomato for the follow-up and looking forward to any further feedback on how to move ahead!
It seems that mraa and upm libraries and not maintained anymore. So you cannot use mraa and upm related Grove modules. So I will close this issue for now. It can be opened later if a fix is found.
Thank you.
Hi @lakshanthad
I got the same issues listed here. May I know how can I solve this?
Why is this issue closed? The installation method is not working, the examples are not working either. What should the people who bought your stuff do?
Agreed. For what is' worth: My work around was a complete new system setup with Raspian Buster. This solves that particular issue for me but it creates other issues with component that would rely on an up-to-date OS.
DId anyone find a fix yet? Or is this a lost cause...
I think this project is dead, but the crooks at Seeed continue to sell the hardware as if it everything was up-to-date. Disgraceful.
I am suggesting newcomers to stay away from the products and look for an alternative.
The problem is with newcomers don't see this on Amazon or Ebay or wherever they buy it.
I played around with this. I found a workaround? It's a freaking horrible one but I managed to do it.
The crappy part is....I added buster back into the source list for apt. So I don't know how long this fix will last once they deprecate buster.
echo "deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi" >> /etc/apt/sources.list
After I did that retried upm
apt-get install python3-upm
Then mraa
apt-get install python3-mraa
This assumes you've tried the install.sh for grove.py repo. Which adds its own seeeds.list apt source
pi@raspberrypi:/etc/apt/sources.list.d $ cat seeed.list
deb https://seeed-studio.github.io/pi_repo/ stretch main
I tried this again from a fresh raspbian bullseye image (as of 12-05 image)
Run the installer for grove.py (the install.sh as it adds the seeeds source list)
echo "deb https://seeed-studio.github.io/pi_repo/ stretch main" | sudo tee -a /etc/apt/sources.list
Add the buster repo into sources.list
echo "deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi" | sudo tee -a /etc/apt/sources.list
update apt
sudo apt-get update
Install python3-upm
sudo apt-get install python3-mraa python3-upm
Possibly related to issue #46, I can't get the dependencies upm and mraa installed: