Unable to install scikit

您所在的位置:网站首页 fortranruntimeendoffile Unable to install scikit

Unable to install scikit

2023-05-25 17:02| 来源: 网络整理| 查看: 265

Collecting scikit-learn Using cached scikit-learn-1.2.2.tar.gz (7.3 MB) Installing build dependencies: started Installing build dependencies: finished with status ‘error’

error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [75 lines of output] Ignoring numpy: markers ‘python_version == “3.10” and platform_system == “Windows” and platform_python_implementation != “PyPy”’ don’t match your environment Collecting setuptools Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB) Collecting wheel Using cached wheel-0.40.0-py3-none-any.whl (64 kB) Collecting Cython>=0.29.24 Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB) Collecting oldest-supported-numpy Using cached oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB) Collecting scipy>=1.3.2 Using cached scipy-1.10.1.tar.gz (42.4 MB) Installing build dependencies: started Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘error’ error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [41 lines of output] The Meson build system Version: 1.1.0 Source dir: /private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-install-htivmlo3/scipy_e880eabdaec048fdbc24e2d349018c33 Build dir: /private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-install-htivmlo3/scipy_e880eabdaec048fdbc24e2d349018c33/.mesonpy-xw6csnjl/build Build type: native build Project name: SciPy Project version: 1.10.1 C compiler for the host machine: cc (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)") C linker for the host machine: cc ld64 650.9 C++ compiler for the host machine: c++ (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)") C++ linker for the host machine: c++ ld64 650.9 Cython compiler for the host machine: cython (cython 0.29.34) Host machine cpu family: aarch64 Host machine cpu: aarch64 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 Compiler for C supports arguments -Wno-incompatible-pointer-types: YES Library m found: YES Fortran compiler for the host machine: gfortran (gcc 13.1.0 "GNU Fortran (Homebrew GCC 13.1.0) 13.1.0") Fortran linker for the host machine: gfortran ld64 530 Compiler for Fortran supports arguments -Wno-conversion: YES Checking if "-Wl,--version-script" : links: NO Program cython found: YES (/private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-build-env-worloq3s/overlay/bin/cython) Program python found: YES (/usr/local/bin/python3.9) Did not find pkg-config by name 'pkg-config' Found Pkg-config: NO Program pythran found: YES (/private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-build-env-worloq3s/overlay/bin/pythran) Run-time dependency threads found: YES Library npymath found: YES Library npyrandom found: YES Did not find CMake 'cmake' Found CMake: NO Run-time dependency openblas found: NO (tried pkgconfig, framework and cmake) Run-time dependency openblas found: NO (tried framework) ../../scipy/meson.build:134:7: ERROR: Dependency lookup for OpenBLAS with method 'pkgconfig' failed: Pkg-config binary for machine 1 not found. Giving up. A full log can be found at /private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-install-htivmlo3/scipy_e880eabdaec048fdbc24e2d349018c33/.mesonpy-xw6csnjl/build/meson-logs/meson-log.txt + meson setup --prefix=/Library/Frameworks/Python.framework/Versions/3.9 /private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-install-htivmlo3/scipy_e880eabdaec048fdbc24e2d349018c33 /private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-install-htivmlo3/scipy_e880eabdaec048fdbc24e2d349018c33/.mesonpy-xw6csnjl/build --native-file=/private/var/folders/lb/_pspgf5j67n_xgt_yqp0r1fr0000gn/T/pip-install-htivmlo3/scipy_e880eabdaec048fdbc24e2d349018c33/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2 [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. WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3.9 -m pip install --upgrade pip' command. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. You should consider upgrading via the ‘/usr/local/bin/python3.9 -m pip install --upgrade pip’ command.

I tried installing fortran. now its showing this error. I think i am required to install the library openblas? But somehow unable to do so on mac



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3