解决 lldb 测试时报错 lacks a functioning sem_open implementation
lldb 测试时报错 lacks a functioning sem_open implementation
报错:
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
解决方法:
网上解决方法都说原因是安装 python 时缺少了东西,让重新安装 python 即可。
对于 lldb 测试报此类错,说明 python-devel 依赖包没有安装,导致缺少 python 开发测试环境。
安装方式:
sudo yum install python-devel
sudo apt install python3-dev