You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bittensor failing to install on Mac m4. I get the following error:
Building wheels for collected packages: py-sr25519-bindings
Building wheel for py-sr25519-bindings (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for py-sr25519-bindings (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [68 lines of output]
Running `maturin pep517 build-wheel -i /Users/omersajid/bt/btcli/btcli_venv/bin/python3 --compatibility off`
🔗 Found pyo3 bindings
🐍 Found CPython 3.13 at /Users/omersajid/bt/btcli/btcli_venv/bin/python3
💻 Using `MACOSX_DEPLOYMENT_TARGET=11.0` for aarch64-apple-darwin by default
Compiling pyo3-macros-backend v0.20.3
error: failed to run custom build command for `pyo3-ffi v0.20.3`
Caused by:
process didn't exit successfully: `/private/var/folders/h0/tfcy9dmn2jj1nbry_y9ql83c0000gn/T/pip-install-nlcdmv8z/py-sr25519-bindings_5ee9e5de30374d3fb3ba3975e2f5c6fa/target/release/build/pyo3-ffi-75076b256aa57b28/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=PYO3_CROSS
cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY
--- stderr
error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
= help: please check if an updated version of PyO3 is available. Current version: 0.20.3
= help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
warning: build failed, waiting for other jobs to finish...
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO MACOSX_DEPLOYMENT_TARGET="11.0" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.13-64bit" PYO3_PYTHON="/Users/omersajid/bt/btcli/btcli_venv/bin/python3" PYTHON_SYS_EXECUTABLE="/Users/omersajid/bt/btcli/btcli_venv/bin/python3" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/private/var/folders/h0/tfcy9dmn2jj1nbry_y9ql83c0000gn/T/pip-install-nlcdmv8z/py-sr25519-bindings_5ee9e5de30374d3fb3ba3975e2f5c6fa/Cargo.toml" "--release" "--lib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/sr25519.cpython-313-darwin.so"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/Users/omersajid/bt/btcli/btcli_venv/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for py-sr25519-bindings
Failed to build py-sr25519-bindings
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (py-sr25519-bindings)
To Reproduce
Run the bash command to install bit tensor: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/opentensor/bittensor/master/scripts/install.sh)"
Run the update command: python3 -m pip install --upgrade bittensor
Expected behavior
It should install
Screenshots
Environment
Mac mini m4 on miniconda and venv
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Bittensor failing to install on Mac m4. I get the following error:
To Reproduce
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/opentensor/bittensor/master/scripts/install.sh)"
python3 -m pip install --upgrade bittensor
Expected behavior
It should install
Screenshots
Environment
Mac mini m4 on miniconda and venv
Additional context
No response
The text was updated successfully, but these errors were encountered: