-
Notifications
You must be signed in to change notification settings - Fork 576
Description
安装以来报错:
Collecting scikit-learn==1.3.2 (from -r requirements.txt (line 8))
Downloading scikit-learn-1.3.2.tar.gz (7.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 3.3 MB/s eta 0:00:00
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
╰─> [669 lines of output]
Partial import of sklearn during the build process.
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
/private/var/folders/wd/yfc8vq5j0ps_fd9l3ttwvf3r0000gn/T/pip-install-_wkz4tzn/scikit-learn_f3acd856f46843f987a2dc595546ea85/sklearn/_build_utils/openmp_helpers.py:121: UserWarning:
***********
* WARNING *
***********
It seems that scikit-learn cannot be built with OpenMP.
- Make sure you have followed the installation instructions:
https://scikit-learn.org/dev/developers/advanced_installation.html
- If your compiler supports OpenMP but you still see this
message, please submit a bug report at:
https://github.com/scikit-learn/scikit-learn/issues
- The build will continue with OpenMP-based parallelism
disabled. Note however that some estimators will run in
sequential mode instead of leveraging thread-based
parallelism.