bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

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)

Open liefh opened this issue 1 year ago • 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'.

liefh avatar Jul 21 '24 04:07 liefh