chia-blockchain: [BUG] Unable to build on an M1 Mac: No matching distribution found for clvm-rs
On an M1 (ARM64) I cannot build the development version because of this error in install:
ERROR: Could not find a version that satisfies the requirement clvm-rs==0.1.2 (from chia-blockchain)
ERROR: No matching distribution found for clvm-rs==0.1.3
This is very similar to the issue #980 with the same error on Raspberry Pi, where it was caused by a 32 bit installation. I tried a few older betas, another version of Python3 from Brew, to no avail.
How to reproduce on a Mac with M1 ARM CPU:
git clone https://github.com/Chia-Network/chia-blockchain.git
cd chia-blockchain
sh install.sh
Here is a full log of the installer until the error:
Python version is 3
Collecting pip
Using cached https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-21.0.1
Collecting wheel
Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
Looking in indexes: https://pypi.org/simple, https://download.chia.net/simple/
Collecting miniupnpc==2.1
Downloading https://download.chia.net/simple/miniupnpc/miniupnpc-2.1.tar.gz (67 kB)
|████████████████████████████████| 67 kB 422 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: miniupnpc
Building wheel for miniupnpc (PEP 517) ... done
Created wheel for miniupnpc: filename=miniupnpc-2.1-cp38-cp38-macosx_10_14_arm64.whl size=34456 sha256=dd0cec414b85608a54476ef5960f58925a67f93bbff1f93f05066f02871148df
Stored in directory: /Users/administrator/Library/Caches/pip/wheels/5e/9f/73/f93d42dc0304e077cec27f5997dca18c0371d1b0ae176cef81
Successfully built miniupnpc
Installing collected packages: miniupnpc
Successfully installed miniupnpc-2.1
Looking in indexes: https://pypi.org/simple, https://download.chia.net/simple/
Obtaining file:///Users/administrator/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 /private/var/folders/_0/yxj9brhd1g1174_kk_cpjdd80000gn/T/pip-install-hu2c_6om/aiosqlite_c3ae6a549f1440ae82f9e32f1fef48ed
Running command git clone -q https://github.com/mariano54/aiosqlite.git /private/var/folders/_0/yxj9brhd1g1174_kk_cpjdd80000gn/T/pip-install-hu2c_6om/aiosqlite_c3ae6a549f1440ae82f9e32f1fef48ed
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 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 websockets==8.1.0
Using cached websockets-8.1.tar.gz (58 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 bitstring==3.1.7
Using cached bitstring-3.1.7-py3-none-any.whl
Collecting setproctitle==1.2.2
Using cached setproctitle-1.2.2.tar.gz (23 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting concurrent-log-handler==0.9.19
Using cached concurrent_log_handler-0.9.19-py2.py3-none-any.whl (18 kB)
Collecting colorlog==4.7.2
Using cached colorlog-4.7.2-py2.py3-none-any.whl (10 kB)
Collecting aiohttp==3.7.3
Using cached aiohttp-3.7.3.tar.gz (1.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting clvm==0.8.9
Using cached clvm-0.8.9-py3-none-any.whl (18 kB)
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 cryptography==3.3.2
Using cached cryptography-3.3.2.tar.gz (539 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting keyrings.cryptfile==1.3.4
Using cached keyrings.cryptfile-1.3.4-py2.py3-none-any.whl
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: 21 (12 by maintainers)
Removed libsodium and gmp. Then installed, activated and started a plot without issues. Perfect.
I fixed both chiavdf and blspy. You should be able to
brew uninstall libsodium gmpand thensh install.shhappily.