grove.py icon indicating copy to clipboard operation
grove.py copied to clipboard

I can not RUN Grove KiT on Raspberry Pi 400 and Pi 8GB

Open mihnin opened this issue 2 years ago • 2 comments

curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:3 https://seeed-studio.github.io/pi_repo stretch InRelease
Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-pip 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 However the following packages replace it: python3-pip

E: Package 'python-pip' has no installation candidate dpkg-query: package 'python-pip' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-pip 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 However the following packages replace it: python3-pip

E: Package 'python-pip' has no installation candidate dpkg-query: package 'python-pip' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-pip 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 However the following packages replace it: python3-pip

E: Package 'python-pip' has no installation candidate dpkg-query: package 'python-pip' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1). The following package was automatically installed and is no longer required: libfuse2 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I2C interface enabled... Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-rpi.gpio 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: Package 'python-rpi.gpio' has no installation candidate dpkg-query: package 'python-rpi.gpio' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-rpi.gpio 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: Package 'python-rpi.gpio' has no installation candidate dpkg-query: package 'python-rpi.gpio' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. Reading package lists... Done Building dependency tree... Done Reading state information... Done Package python-rpi.gpio 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: Package 'python-rpi.gpio' has no installation candidate dpkg-query: package 'python-rpi.gpio' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files.

 Grove.py installation FAILED, FAILED, FAILED      

mihnin avatar Jan 03 '23 07:01 mihnin

Hi: Having the same exact issue, did you resolve the problem??

sealman38 avatar Feb 21 '23 04:02 sealman38

"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 (curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -) command. We also recommend using Python3 to all the users and developers."

Use the Step by step installation instead:

git clone https://github.com/Seeed-Studio/grove.py
cd grove.py
# Python2
sudo pip install .
# Python3
sudo pip3 install .

caution: If you are using Raspberry Pi with Raspberrypi OS >= Bullseye, you have to use this command line only with Python3.

NicolasAppsDevelopment avatar Jan 20 '24 14:01 NicolasAppsDevelopment

Refer to #65 .This issue is closed, If you have any questions, you can comment and reply.

is-qian avatar Sep 21 '24 17:09 is-qian