在Mac OS 10.15.6中安装pycld2时遇到的问题。它说pycld2的建筑轮子失败

时间:2020-09-18 13:17:18

标签: pip conda macos-catalina llvm-clang python-wheel

在vscode中创建venv之后,我已经安装了pip,然后在从github复制存储库之后尝试使用pip安装requirements.txt文件。在成功安装其他要求的同时,系统尝试安装pycld2时出现问题,出现以下错误

>     error: command 'clang' failed with exit status 1   error: command 'clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycld2
  Running setup.py clean for pycld2
Failed to build pycld2
DEPRECATION: Could not build wheels for pycld2 which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. 

我尝试更新clang版本和gcc。而且还使用'pip3 install wheel'安装了车轮

    gcc version : 10.2.0
 clang version 12.0.0 (clang-1200.0.32.2)
    Target: x86_64-apple-darwin19.6.0
    Thread model: posix
    InstalledDir: /Library/Developer/CommandLineTools/usr/bin

请让我知道我错过了什么。预先感谢

0 个答案:

没有答案