chia-blockchain: Instructions on Raspberry Pi 3/4 installation not working

This happened yesterday and today. I’m following the instructions on this wiki page: https://github.com/Chia-Network/chia-blockchain/wiki/Raspberry-Pi. My device is a Raspberry Pi 400 on Rasberry Pi OS 64 bit. I get as far as sh install.sh but it always gives me this error:

ERROR: Could not find a version that satisfies the requirement clvm-rs==0.1.3 (from chia-blockchain)
ERROR: No matching distribution found for clvm-rs==0.1.3

Next I tried sudo pip3 install clvm-rs==0.1.3 but I get this error:

pi@raspberrypi:~/chia-blockchain $ sudo pip3 install clvm-rs==0.1.3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting clvm-rs==0.1.3
  Could not find a version that satisfies the requirement clvm-rs==0.1.3 (from versions: 0.1.0, 0.1.1, 0.1.2)
No matching distribution found for clvm-rs==0.1.3

I even downloaded and tried installing the relevant whl file from here: https://pypi.org/project/clvm-rs/0.1.3/#files but it said it wasn’t compatible.

Full output of sh install.sh:

pi@raspberrypi:~/chia-blockchain $ sh install.sh
apt-get is /usr/bin/apt-get
Installing on Ubuntu/Debian pre 20.04 LTS
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease                  
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease               
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'python3-distutils' instead of 'python3.7-distutils'
python3-distutils is already the newest version (3.7.3-1).
python3.7-venv is already the newest version (3.7.3-2+deb10u2).
The following packages were automatically installed and are no longer required:
  gconf-service gconf2-common libbluetooth3 libexiv2-14 libgconf-2-4 libgfortran3 libgmime-2.6-0 libncurses5 libssl1.0.2 lxplug-volume uuid-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Python version is 3.7
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in ./venv/lib/python3.7/site-packages (21.0.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: wheel in ./venv/lib/python3.7/site-packages (0.36.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://download.chia.net/simple/
Requirement already satisfied: miniupnpc==2.1 in ./venv/lib/python3.7/site-packages (2.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://download.chia.net/simple/
Obtaining file:///home/pi/chia-blockchain
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting aiosqlite@ git+https://github.com/mariano54/aiosqlite.git@47c7b21dd04adb1d41073ee9911a9d4b9c4b370f#egg=aiosqlite
  Cloning https://github.com/mariano54/aiosqlite.git (to revision 47c7b21dd04adb1d41073ee9911a9d4b9c4b370f) to /tmp/pip-install-_lnd47tt/aiosqlite_9816e0d865e64385ba4b512d2783839e
  Running command git clone -q https://github.com/mariano54/aiosqlite.git /tmp/pip-install-_lnd47tt/aiosqlite_9816e0d865e64385ba4b512d2783839e
  Running command git rev-parse -q --verify 'sha^47c7b21dd04adb1d41073ee9911a9d4b9c4b370f'
  Running command git fetch -q https://github.com/mariano54/aiosqlite.git 47c7b21dd04adb1d41073ee9911a9d4b9c4b370f
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Collecting blspy==0.3.5
  Using cached blspy-0.3.5.tar.gz (258 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting aiter==0.13.20191203
  Using cached https://www.piwheels.org/simple/aiter/aiter-0.13.20191203-py3-none-any.whl (14 kB)
Collecting websockets==8.1.0
  Using cached https://www.piwheels.org/simple/websockets/websockets-8.1-cp37-cp37m-linux_armv7l.whl (78 kB)
Collecting keyring==21.5.0
  Using cached https://www.piwheels.org/simple/keyring/keyring-21.5.0-py3-none-any.whl (32 kB)
Collecting PyYAML==5.4.1
  Using cached PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting chiapos==0.12.44
  Using cached chiapos-0.12.44.tar.gz (1.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting concurrent-log-handler==0.9.19
  Using cached https://www.piwheels.org/simple/concurrent-log-handler/concurrent_log_handler-0.9.19-py2.py3-none-any.whl (18 kB)
Collecting clvm==0.8.9
  Using cached clvm-0.8.9-py3-none-any.whl (18 kB)
Collecting chiabip158==0.19
  Using cached https://www.piwheels.org/simple/chiabip158/chiabip158-0.19-cp37-cp37m-linux_armv7l.whl (2.0 MB)
Collecting bitstring==3.1.7
  Using cached https://www.piwheels.org/simple/bitstring/bitstring-3.1.7-py3-none-any.whl (37 kB)
Collecting cryptography==3.3.2
  Using cached https://www.piwheels.org/simple/cryptography/cryptography-3.3.2-cp37-cp37m-linux_armv7l.whl (782 kB)
Collecting clvm-tools==0.3.5
  Using cached clvm_tools-0.3.5-py3-none-any.whl (35 kB)
Collecting colorlog==4.7.2
  Using cached https://www.piwheels.org/simple/colorlog/colorlog-4.7.2-py2.py3-none-any.whl (10 kB)
Collecting chiavdf==0.15.0
  Using cached chiavdf-0.15.0.tar.gz (639 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting aiohttp==3.7.3
  Using cached https://www.piwheels.org/simple/aiohttp/aiohttp-3.7.3-cp37-cp37m-linux_armv7l.whl (1.3 MB)
Collecting sortedcontainers==2.3.0
  Using cached https://www.piwheels.org/simple/sortedcontainers/sortedcontainers-2.3.0-py2.py3-none-any.whl (29 kB)
Collecting setproctitle==1.2.2
  Using cached https://www.piwheels.org/simple/setproctitle/setproctitle-1.2.2-cp37-cp37m-linux_armv7l.whl (37 kB)
ERROR: Could not find a version that satisfies the requirement clvm-rs==0.1.3 (from chia-blockchain)
ERROR: No matching distribution found for clvm-rs==0.1.3

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

There are instructions for installing the 64 bit image on the wiki - second paragraph - https://github.com/Chia-Network/chia-blockchain/wiki/Raspberry-Pi

And now I see the problem for at least @rowlandrose

From his output:

Collecting setproctitle==1.2.2
  Using cached https://www.piwheels.org/simple/setproctitle/setproctitle-1.2.2-cp37-cp37m-linux_armv7l.whl

See that linux_armv7l? You’re running a 32 bit Raspbian and we don’t support that. 64 bit Raspbian is availabe.

Thank you so much. Turns out I had not actually installed Raspberry Pi OS 64 bit. I had instead followed instructions I found online to run with a 64 bit kernel, mistakenly thinking it was a full 64-bit OS installation. I did a proper installation of Raspberry Pi OS 64 bit just now, and sure enough I was able to successfully run sh install.sh. Sorry for the mistake and thank you for your quick attention. I can’t wait to play around further with the Chia blockchain.