update install script ot build from source
@@ -115,13 +115,18 @@ mac_install_python() {
python3.7 -m pip install --upgrade pip
}
-
install_bittensor() {
+ mkdir tmp
+ cd tmp
+ ohai "Cloning bittensor"
+ git clone https://github.com/opentensor/bittensor.git
+ cd bittensor
ohai "Installing bittensor"
- python3.7 -m pip install bittensor
+ python3.7 -m pip install -e .
+ cd ../..
+ rm -rf tmp
}
-
# Do install.
OS="$(uname)"
if [[ "$OS" == "Linux" ]]; then
