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

问题描述

在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

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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)