Pip 在mac os 10.15.6中安装pycld2时遇到问题。它说为pycld2建造轮子失败了
在vscode中创建了venv之后,我安装了pip,然后在从github克隆repo之后尝试使用pip安装requirements.txt文件。成功安装其他需求时,系统尝试安装pycld2时出现问题,错误如下Pip 在mac os 10.15.6中安装pycld2时遇到问题。它说为pycld2建造轮子失败了,pip,conda,macos-catalina,llvm-clang,python-wheel,Pip,Conda,Macos Catalina,Llvm Clang,Python Wheel,在vscode中创建了venv之后,我安装了pip,然后在从github克隆repo之后尝试使用pip安装requirements.txt文件。成功安装其他需求时,系统尝试安装pycld2时出现问题,错误如下 > error: command 'clang' failed with exit status 1 error: command 'clang' failed with exit status 1 ----------------------------------
> 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安装车轮”安装车轮
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
请让我知道我错过了什么。提前谢谢