We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is what happens when attempting to install bittensor-wallet via pip on Python 3.13 on Darwin. Same error is encountered using uv.
uv
⚡ pip install bittensor-wallet Collecting bittensor-wallet Using cached bittensor_wallet-2.0.2.tar.gz (69 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting termcolor (from bittensor-wallet) Using cached termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB) Collecting eth-utils<2.3.0 (from bittensor-wallet) Using cached eth_utils-2.2.2-py3-none-any.whl.metadata (5.1 kB) DEPRECATION: Wheel filename 'password_strength-0.0.1_1-py2-none-any.whl' is not correctly normalised. Future versions of pip will raise the following error: Invalid wheel filename (invalid version): password_strength-0.0.1_1-py2-none-any pip 25.1 will enforce this behaviour change. A possible replacement is to rename the wheel to use a correctly normalised name (this may require updating the version in the project metadata). Discussion can be found at https://github.com/pypa/pip/issues/12938 DEPRECATION: Wheel filename 'password_strength-0.0.2_0-py2-none-any.whl' is not correctly normalised. Future versions of pip will raise the following error: Invalid wheel filename (invalid version): password_strength-0.0.2_0-py2-none-any pip 25.1 will enforce this behaviour change. A possible replacement is to rename the wheel to use a correctly normalised name (this may require updating the version in the project metadata). Discussion can be found at https://github.com/pypa/pip/issues/12938 Collecting password-strength (from bittensor-wallet) Using cached password_strength-0.0.3.post2-py2.py3-none-any.whl.metadata (10 kB) Collecting cryptography~=42.0.5 (from bittensor-wallet) Using cached cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl.metadata (5.3 kB) Collecting ansible~=6.7 (from bittensor-wallet) Using cached ansible-6.7.0-py3-none-any.whl.metadata (6.6 kB) Collecting ansible-vault~=2.1 (from bittensor-wallet) Using cached ansible_vault-2.1.0-py3-none-any.whl Collecting munch~=2.5.0 (from bittensor-wallet) Using cached munch-2.5.0-py2.py3-none-any.whl.metadata (5.8 kB) Collecting rich (from bittensor-wallet) Using cached rich-13.9.4-py3-none-any.whl.metadata (18 kB) Collecting py-bip39-bindings==0.1.11 (from bittensor-wallet) Using cached py_bip39_bindings-0.1.11-cp313-cp313-macosx_11_0_arm64.whl Collecting ansible-core~=2.13.7 (from ansible~=6.7->bittensor-wallet) Using cached ansible_core-2.13.13-py3-none-any.whl.metadata (6.9 kB) Collecting setuptools (from ansible-vault~=2.1->bittensor-wallet) Using cached setuptools-75.3.0-py3-none-any.whl.metadata (6.9 kB) Collecting cffi>=1.12 (from cryptography~=42.0.5->bittensor-wallet) Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (1.5 kB) Collecting eth-hash>=0.3.1 (from eth-utils<2.3.0->bittensor-wallet) Using cached eth_hash-0.7.0-py3-none-any.whl.metadata (5.4 kB) Collecting eth-typing>=3.0.0 (from eth-utils<2.3.0->bittensor-wallet) Using cached eth_typing-5.0.1-py3-none-any.whl.metadata (5.1 kB) Collecting cytoolz>=0.10.1 (from eth-utils<2.3.0->bittensor-wallet) Using cached cytoolz-1.0.0-cp313-cp313-macosx_15_0_arm64.whl Collecting six (from munch~=2.5.0->bittensor-wallet) Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting markdown-it-py>=2.2.0 (from rich->bittensor-wallet) Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) Collecting pygments<3.0.0,>=2.13.0 (from rich->bittensor-wallet) Using cached pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB) Collecting jinja2>=3.0.0 (from ansible-core~=2.13.7->ansible~=6.7->bittensor-wallet) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting PyYAML>=5.1 (from ansible-core~=2.13.7->ansible~=6.7->bittensor-wallet) Using cached PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl.metadata (2.1 kB) Collecting packaging (from ansible-core~=2.13.7->ansible~=6.7->bittensor-wallet) Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting resolvelib<0.9.0,>=0.5.3 (from ansible-core~=2.13.7->ansible~=6.7->bittensor-wallet) Using cached resolvelib-0.8.1-py2.py3-none-any.whl.metadata (4.0 kB) Collecting pycparser (from cffi>=1.12->cryptography~=42.0.5->bittensor-wallet) Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes) Collecting toolz>=0.8.0 (from cytoolz>=0.10.1->eth-utils<2.3.0->bittensor-wallet) Using cached toolz-1.0.0-py3-none-any.whl.metadata (5.1 kB) Collecting typing-extensions>=4.5.0 (from eth-typing>=3.0.0->eth-utils<2.3.0->bittensor-wallet) Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->bittensor-wallet) Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) Collecting MarkupSafe>=2.0 (from jinja2>=3.0.0->ansible-core~=2.13.7->ansible~=6.7->bittensor-wallet) Using cached MarkupSafe-3.0.2-cp313-cp313-macosx_11_0_arm64.whl.metadata (4.0 kB) Using cached ansible-6.7.0-py3-none-any.whl (42.8 MB) Using cached cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl (5.9 MB) Using cached eth_utils-2.2.2-py3-none-any.whl (23 kB) Using cached munch-2.5.0-py2.py3-none-any.whl (10 kB) Using cached password_strength-0.0.3.post2-py2.py3-none-any.whl (12 kB) Using cached rich-13.9.4-py3-none-any.whl (242 kB) Using cached termcolor-2.5.0-py3-none-any.whl (7.8 kB) Using cached ansible_core-2.13.13-py3-none-any.whl (2.1 MB) Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl (178 kB) Using cached eth_hash-0.7.0-py3-none-any.whl (8.7 kB) Using cached eth_typing-5.0.1-py3-none-any.whl (20 kB) Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB) Using cached setuptools-75.3.0-py3-none-any.whl (1.3 MB) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Using cached jinja2-3.1.4-py3-none-any.whl (133 kB) Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Using cached PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl (171 kB) Using cached resolvelib-0.8.1-py2.py3-none-any.whl (16 kB) Using cached toolz-1.0.0-py3-none-any.whl (56 kB) Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) Using cached packaging-24.1-py3-none-any.whl (53 kB) Using cached pycparser-2.22-py3-none-any.whl (117 kB) Using cached MarkupSafe-3.0.2-cp313-cp313-macosx_11_0_arm64.whl (12 kB) Building wheels for collected packages: bittensor-wallet Building wheel for bittensor-wallet (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for bittensor-wallet (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [136 lines of output] Running `maturin pep517 build-wheel -i /Users/bhimes/Documents/whatever/venv/bin/python3.13 --compatibility off` 🍹 Building a mixed python/rust project 🔗 Found pyo3 bindings 🐍 Found CPython 3.13 at /Users/bhimes/Documents/whatever/venv/bin/python3.13 💻 Using `MACOSX_DEPLOYMENT_TARGET=11.0` for aarch64-apple-darwin by default Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.13 Compiling version_check v0.9.5 Compiling libc v0.2.159 Compiling typenum v1.17.0 Compiling cfg-if v1.0.0 Compiling subtle v2.4.1 Compiling serde v1.0.210 Compiling autocfg v1.3.0 Compiling byteorder v1.5.0 Compiling const-oid v0.9.6 Compiling syn v1.0.109 Compiling hashbrown v0.14.5 Compiling equivalent v1.0.1 Compiling arrayvec v0.7.6 Compiling generic-array v0.14.7 Compiling shlex v1.3.0 Compiling winnow v0.6.18 Compiling indexmap v2.5.0 Compiling toml_datetime v0.6.8 Compiling cc v1.1.21 Compiling target-lexicon v0.12.16 Compiling toml_edit v0.22.21 Compiling once_cell v1.19.0 Compiling quote v1.0.37 Compiling syn v2.0.77 Compiling byte-slice-cast v1.2.2 Compiling bytes v1.7.2 Compiling getrandom v0.2.15 Compiling rand_core v0.6.4 Compiling cpufeatures v0.2.14 Compiling proc-macro-crate v3.2.0 Compiling memchr v2.7.4 Compiling semver v1.0.23 Compiling pkg-config v0.3.31 Compiling crunchy v0.2.2 Compiling aho-corasick v1.1.3 Compiling regex-syntax v0.8.4 Compiling pin-project-lite v0.2.14 Compiling base64ct v1.6.0 Compiling pyo3-build-config v0.22.3 Compiling digest v0.9.0 Compiling tracing-core v0.1.32 Compiling rustc_version v0.4.1 Compiling num-traits v0.2.19 Compiling prettyplease v0.2.22 Compiling lazy_static v1.5.0 Compiling log v0.4.22 Compiling opaque-debug v0.3.1 Compiling static_assertions v1.1.0 Compiling itoa v1.0.11 Compiling libsecp256k1-core v0.3.0 Compiling regex-automata v0.4.7 Compiling curve25519-dalek v4.1.3 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling keccak v0.1.5 Compiling slab v0.4.9 Compiling fs-err v2.11.0 Compiling serde_json v1.0.128 Compiling ref-cast v1.0.23 Compiling smallvec v1.13.2 Compiling arrayref v0.3.9 Compiling regex-syntax v0.6.29 Compiling hex v0.4.3 Compiling core-foundation-sys v0.8.7 Compiling proc-macro-hack v0.5.20+deprecated Compiling vcpkg v0.2.15 Compiling base16ct v0.2.0 Compiling iana-time-zone v0.1.61 Compiling zeroize_derive v1.4.2 Compiling serde_derive v1.0.210 Compiling zerocopy-derive v0.7.35 Compiling impl-trait-for-tuples v0.2.2 Compiling parity-scale-codec-derive v3.6.12 Compiling zeroize v1.8.1 Compiling regex v1.10.6 Compiling Inflector v0.11.4 Compiling regex-automata v0.1.10 Compiling zerocopy v0.7.35 Compiling openssl-sys v0.9.103 Compiling der v0.7.9 Compiling digest v0.10.7 Compiling ppv-lite86 v0.2.20 Compiling block-buffer v0.9.0 Compiling sha2 v0.10.8 Compiling hmac v0.12.1 Compiling rand_chacha v0.3.1 Compiling spki v0.7.3 Compiling rand v0.8.5 Compiling signature v2.2.0 Compiling scale-info-derive v2.11.3 Compiling ref-cast-impl v1.0.23 Compiling tracing-attributes v0.1.27 error[E0658]: `#[diagnostic]` attribute name space is experimental --> /Users/bhimes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/de/mod.rs:536:5 | 536 | diagnostic::on_unimplemented( | ^^^^^^^^^^ | = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable = note: this compiler was built on 2024-03-04; consider upgrading it if it is out of date error[E0658]: `#[diagnostic]` attribute name space is experimental --> /Users/bhimes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.210/src/ser/mod.rs:220:5 | 220 | diagnostic::on_unimplemented( | ^^^^^^^^^^ | = note: see issue #111996 <https://github.com/rust-lang/rust/issues/111996> for more information = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable = note: this compiler was built on 2024-03-04; consider upgrading it if it is out of date Compiling derive_more v0.99.18 Compiling ff v0.13.0 Compiling ahash v0.8.11 Compiling tinyvec_macros v0.1.1 Compiling same-file v1.0.6 Compiling futures-sink v0.3.30 Compiling bitcoin-internals v0.2.0 Compiling futures-core v0.3.30 Compiling ryu v1.0.18 For more information about this error, try `rustc --explain E0658`. error: could not compile `serde` (lib) due to 2 previous errors warning: build failed, waiting for other jobs to finish... error: could not compile `serde` (lib) due to 2 previous errors 💥 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/bhimes/Documents/whatever/venv/bin/python3.13" PYTHON_SYS_EXECUTABLE="/Users/bhimes/Documents/whatever/venv/bin/python3.13" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/private/var/folders/p_/62gn5db152z84k_dbpc02rlc0000gn/T/pip-install-crvs4_2p/bittensor-wallet_94eff21930944fbabef3392fd5abd7c8/Cargo.toml" "--release" "--lib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/bittensor_wallet.cpython-313-darwin.so"` Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/Users/bhimes/Documents/whatever/venv/bin/python3.13', '--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 bittensor-wallet Failed to build bittensor-wallet ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (bittensor-wallet)
The text was updated successfully, but these errors were encountered:
Could not reproduce. This looks like a rust environment error for macos. See: tokio-rs/axum#2682
Sorry, something went wrong.
No branches or pull requests
This is what happens when attempting to install bittensor-wallet via pip on Python 3.13 on Darwin. Same error is encountered using
uv
.The text was updated successfully, but these errors were encountered: