dsds
dsds copied to clipboard
Error installing on Mac Aarch64
When I first tried pip installing on my mac 2021 Macbook Air M1, 11.7.4 I got an error that I needed to install rust...
(buckaroo-dev-2) paddy@Paddys-Air example-notebooks % pip install dsds
pip install dsds
Collecting dsds
Using cached dsds-0.0.34.tar.gz (6.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
After installing rust, I saw this error which I haven't dug into yet.
(buckaroo-dev-2) paddy@Paddys-Air example-notebooks % source "$HOME/.cargo/env"
source "$HOME/.cargo/env"
(buckaroo-dev-2) paddy@Paddys-Air example-notebooks % pip install dsds
pip install dsds
Collecting dsds
Using cached dsds-0.0.34.tar.gz (6.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting polars>=0.19.9 (from dsds)
Downloading polars-0.19.11-cp38-abi3-macosx_11_0_arm64.whl.metadata (14 kB)
Collecting scipy>=1.11.1 (from dsds)
Using cached scipy-1.11.3.tar.gz (56.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
+ meson setup /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-install-f_qaabe_/scipy_c1bf9898abad4aa2824eb2844b1e1aa1 /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-install-f_qaabe_/scipy_c1bf9898abad4aa2824eb2844b1e1aa1/.mesonpy-fsfsexik -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-install-f_qaabe_/scipy_c1bf9898abad4aa2824eb2844b1e1aa1/.mesonpy-fsfsexik/meson-python-native-file.ini
The Meson build system
Version: 1.2.3
Source dir: /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-install-f_qaabe_/scipy_c1bf9898abad4aa2824eb2844b1e1aa1
Build dir: /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-install-f_qaabe_/scipy_c1bf9898abad4aa2824eb2844b1e1aa1/.mesonpy-fsfsexik
Build type: native build
Project name: SciPy
Project version: 1.11.3
C compiler for the host machine: cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C linker for the host machine: cc ld64 711
C++ compiler for the host machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C++ linker for the host machine: c++ ld64 711
Cython compiler for the host machine: cython (cython 0.29.36)
Host machine cpu family: aarch64
Host machine cpu: aarch64
Program python found: YES (/Users/paddy/anaconda3/envs/buckaroo-dev-2/bin/python)
Found pkg-config: /opt/homebrew/bin/pkg-config (0.29.2)
Run-time dependency python found: YES 3.11
Program cython found: YES (/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-ahyei1nt/overlay/bin/cython)
Compiler for C supports arguments -Wno-unused-but-set-variable: NO
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-conversion: YES
Compiler for C supports arguments -Wno-misleading-indentation: YES
Library m found: YES
Fortran compiler for the host machine: gfortran (gcc 12.2.0 "GNU Fortran (Homebrew GCC 12.2.0) 12.2.0")
Fortran linker for the host machine: gfortran ld64 711
Compiler for Fortran supports arguments -Wno-conversion: YES
Checking if "-Wl,--version-script" : links: NO
Program pythran found: YES (/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-ahyei1nt/overlay/bin/pythran)
Found CMake: /opt/homebrew/bin/cmake (3.27.6)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency xsimd found: NO (tried pkgconfig, framework and cmake)
Run-time dependency threads found: YES
Library npymath found: YES
Library npyrandom found: YES
pybind11-config found: YES (/private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-build-env-ahyei1nt/overlay/bin/pybind11-config) 2.11.0
Run-time dependency pybind11 found: YES 2.11.0
Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
../scipy/meson.build:159:9: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig, framework and cmake
A full log can be found at /private/var/folders/th/jfr8ccjx09g2j_18ty_t3xnh0000gn/T/pip-install-f_qaabe_/scipy_c1bf9898abad4aa2824eb2844b1e1aa1/.mesonpy-fsfsexik/meson-logs/meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.