Skip to content

[Bug]: Error installing cli python 3.13 #42

@frankinspace

Description

@frankinspace

Checked for duplicates

Yes - I've already checked

Describe the bug

I was trying to install slim-cli via pip but it failed while trying to compile numpy.

Full log is here: build_log.txt

It looks like it could be related to python 3.13: numpy/numpy#24318

What did you expect?

I expected slim-cli to be installed successfully in my environment

Reproducible steps

micromamba env create -n slim "python=3"
micromamba activate slim
pip install slim-cli

Environment

conda environment:

micromamba list  
List of packages in environment: "/Users/greguska/micromamba/envs/slim"

  Name             Version    Build               Channel
───────────────────────────────────────────────────────────
  bzip2            1.0.8      h80987f9_6                 
  ca-certificates  2025.2.25  hca03da5_0                 
  expat            2.7.1      h313beb8_0                 
  libcxx           17.0.6     he5c5206_4                 
  libffi           3.4.4      hca03da5_1                 
  libmpdec         4.0.0      h80987f9_0                 
  ncurses          6.4        h313beb8_0                 
  openssl          3.0.17     h4ee41c1_0                 
  pip              25.1       pyhc872135_2               
  python           3.13.5     h2eb94d5_100_cp313         
  python_abi       3.13       0_cp313                    
  readline         8.2        h1a28f6b_0                 
  setuptools       78.1.1     py313hca03da5_0            
  sqlite           3.50.2     h79febb2_1                 
  tk               8.6.14     h6ba3021_1                 
  tzdata           2025b      h04d1e81_0                 
  wheel            0.45.1     py313hca03da5_0            
  xz               5.6.4      h80987f9_1                 
  zlib             1.2.13     h18a0788_1          

Generated a pip dependency report using the following command:

pip install --dry-run --ignore-installed --quiet --report ~/Downloads/slim-cli.dependency-report.json --no-compile --only-binary numpy slim-cli

slim-cli.dependency-report.json

Details about numpy build environment:

The Meson build system
      Version: 1.4.99
      Source dir: /private/var/folders/8_/6bssksz10nl374w2z3f063840000gq/T/pip-install-__i25lf0/numpy_3e0dd3739ac4465398d7703b9dc93798
      Build dir: /private/var/folders/8_/6bssksz10nl374w2z3f063840000gq/T/pip-install-__i25lf0/numpy_3e0dd3739ac4465398d7703b9dc93798/.mesonpy-jkxq6_95
      Build type: native build
      Project name: NumPy
      Project version: 2.0.2
      C compiler for the host machine: cc (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
      C linker for the host machine: cc ld64 1115.7.3
      C++ compiler for the host machine: c++ (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
      C++ linker for the host machine: c++ ld64 1115.7.3
      Cython compiler for the host machine: cython (cython 3.1.2)
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      Program python found: YES (/Users/greguska/micromamba/envs/slim/bin/python3.13)
      Did not find pkg-config by name 'pkg-config'
      Found pkg-config: NO
      Run-time dependency python found: YES 3.13
      Has header "Python.h" with dependency python: YES
      Compiler for C supports arguments -fno-strict-aliasing: YES
      Compiler for C supports arguments -ftrapping-math: YES
      Compiler for C supports link arguments -Wl,-ld_classic: YES
      Message: During parsing cpu-dispatch: The following CPU features were ignored due to platform incompatibility or lack of support:
      "XOP FMA4"
      Test features "NEON NEON_FP16 NEON_VFPV4 ASIMD" : Supported
      Test features "ASIMDHP" : Supported
      Test features "ASIMDFHM" : Supported
      Test features "SVE" : Unsupported due to Compiler fails against the test code of "SVE"
      Configuring npy_cpu_dispatch_config.h using configuration
      Message:
      CPU Optimization Options
        baseline:
          Requested : min
          Enabled   : NEON NEON_FP16 NEON_VFPV4 ASIMD
        dispatch:
          Requested : max -xop -fma4
          Enabled   : ASIMDHP ASIMDFHM
      
      Library m found: YES
      Run-time dependency scipy-openblas found: NO (tried pkgconfig)
      Run-time dependency accelerate found: YES
      ../numpy/meson.build:135: WARNING: Project targets '>=1.2.99' but uses feature introduced in '1.3.0': dep 'accelerate' custom lookup.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions