question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Unable to build on an M1 Mac: No matching distribution found for clvm-rs

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
janitcommented, Mar 9, 2021

Removed libsodium and gmp. Then installed, activated and started a plot without issues. Perfect.

1reaction
hoffmang9commented, Mar 9, 2021

I fixed both chiavdf and blspy. You should be able to brew uninstall libsodium gmp and then sh install.sh happily.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install on M1 mac: No matching distribution found for ...
Does anyone know why I can't install it? I'm using this command and my env is macOS: pip install pandas==1.2.5. MyΒ ...
Read more >
How to install Tensorflow on the Apple M1 Notebook
and it responded "ERROR: Could not find a version that satisfies the requirement ... ERROR: No matching distribution found for tensorflow-macos.
Read more >
Fix No Users Available for Authorisation M1 Mac Error
This video will show you how to Fix No Users Available for Authorisation M1 Mac Error. This is helpful if you are trying...
Read more >
How To Install TensorFlow on M1 Mac (The Easy Way)
Step6: Run a Benchmark by training the MNIST dataset. Let's install Tensorflow Datasets pip install tensorflow_datasets. Make sure your conda environment isΒ ...
Read more >
Citrix Workspace app for Mac
Macs with Apple silicon (M1 Series) and it must be installed and tested ... certificates are not found in your keychain, you can't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found