Skip to content
New issue

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

new pixi setup fails on mac #52

Closed
mmikhasenko opened this issue May 28, 2024 · 3 comments · Fixed by #56
Closed

new pixi setup fails on mac #52

mmikhasenko opened this issue May 28, 2024 · 3 comments · Fixed by #56

Comments

@mmikhasenko
Copy link
Collaborator

pulled the x23pi_compass branch, pixi run doc fails. Also, pixi install fails.

going to try main now

Trace:

(default) (base) mikhailmikhasenko@eduroam-5540-231 ~/AmplitudeModelSerialization % pixi install
  × Failed to download distributions
  ├─▶ Failed to fetch wheel: scipy==1.13.1
  ├─▶ Failed to build: `scipy==1.13.1`
  ╰─▶ Build backend failed to build wheel through `build_wheel()` with exit status: 1
      --- stdout:
      + meson setup /rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-
      iyisw1kv -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-iyisw1kv/meson-python-native-file.ini
      The Meson build system
      Version: 1.4.0
      Source dir: /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz
      Build dir: /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-iyisw1kv
      Build type: native build
      Project name: scipy
      Project version: 1.13.1
      C compiler for the host machine: cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.1.0.2.5)")
      C linker for the host machine: cc ld64 1022.1
      C++ compiler for the host machine: c++ (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.1.0.2.5)")
      C++ linker for the host machine: c++ ld64 1022.1
      Cython compiler for the host machine: cython (cython 3.0.10)
      Host machine cpu family: aarch64
      Host machine cpu: aarch64
      Program python found: YES (/Caches/rattler/cache/uv-cache/.tmpM40zDl/.venv/bin/python)
      Did not find pkg-config by name 'pkg-config'
      Found pkg-config: NO
      Run-time dependency python found: YES 3.12
      Program cython found: YES (/Caches/rattler/cache/uv-cache/.tmpM40zDl/.venv/bin/cython)
      Compiler for C supports arguments -Wno-unused-but-set-variable: YES
      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 13.2.0 "GNU Fortran (Homebrew GCC 13.2.0) 13.2.0")
      Fortran linker for the host machine: gfortran ld64 1022.1
      Compiler for Fortran supports arguments -Wno-conversion: YES
      Compiler for C supports link arguments -Wl,-ld_classic: YES
      Checking if "-Wl,--version-script" : links: NO
      Program pythran found: YES 0.15.0 0.15.0 (/Caches/rattler/cache/uv-cache/.tmpM40zDl/.venv/bin/pythran)
      Did not find CMake 'cmake'
      Found CMake: NO
      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 (/Caches/rattler/cache/uv-cache/.tmpM40zDl/.venv/bin/pybind11-config) 2.12.0
      Run-time dependency pybind11 found: YES 2.12.0
      Run-time dependency scipy-openblas found: NO (tried pkgconfig)
      Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake)
      Run-time dependency openblas found: NO (tried framework)
      
      ../scipy/meson.build:163:9: ERROR: Dependency lookup for OpenBLAS with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up.
      
      A full log can be found at /Caches/rattler/cache/uv-cache/built-wheels-v3/pypi/scipy/1.13.1/J9fT5HywTfiafip2zvV7C/scipy-1.13.1.tar.gz/.mesonpy-iyisw1kv/meson-logs/meson-log.txt
      --- stderr:
      
      ---
@mmikhasenko
Copy link
Collaborator Author

git clean -Xdf from #35
does not solve the problem

same error when trying to pixi install

@mmikhasenko
Copy link
Collaborator Author

It's the last commit b1831bc that broke it.
Reverting @redeboer hope you do not mind

@redeboer
Copy link
Collaborator

Probably best to switch from conda packages to pypi packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants