opentensor/bittensor

error:This linux based install requires apt. To run with other distros (centos, arch, etc), you will need to manually install the requirements on Ubuntu 24.04 LTS (Noble Numbat)

Opened this issue · 1 comments

Describe the bug

When I installed bittensor using a Bash command on Ubuntu 24.04 LTS (Noble Numbat),I encountered an error "This linux based install requires apt. To run with other distros (centos, arch, etc), you will need to manually install the requirements"

To Reproduce

1.Copy and paste the following bash command into a terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/opentensor/bittensor/master/scripts/install.sh)"

  1. the script exited and the screen printed "This linux based install requires apt. To run with other distros (centos, arch, etc), you will need to manually install the requirements"

Expected behavior

the script will continue exec on 24.04 LTS (Noble Numbat)

Screenshots

error

Environment

Ubuntu 24.04 LTS (Noble Numbat)

Additional context

Maybe line 179 in https://raw.githubusercontent.com/opentensor/bittensor/master/scripts/install.sh should be changed from 'if [[ $? == 0 ]] ; then' to 'if [[ $? != 0 ]] ; then'.

Hey @liefh ,
You're welcome to submit a PR for this. Otherwise, you can also install through pip until this issue is resolved.