无法为 xformers 构建轮子,这是安装基于 pyproject.toml 的项目(macOS)所必需的

问题描述 投票:0回答:1

我正在尝试在我的 pyenv 虚拟环境(MacOS)中安装

audiocrafts
库,但我不断收到此错误。

    clang: error: unsupported option '-fopenmp'
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xformers
  Running setup.py clean for xformers
Failed to build xformers
ERROR: Could not build wheels for xformers, which is required to install pyproject.toml-based projects

如果我尝试使用 pip 安装

xformers
,我仍然会遇到与上面相同的错误。我错过了什么?

python macos import pip package
1个回答
0
投票

我有完全相同的问题,已尝试重新安装等

© www.soinside.com 2019 - 2024. All rights reserved.