福州网站建设工作,标志设计要素,ps做网站教程,青岛如何做网站seo背景
c跨平台项目使用conan进行三方库依赖管理是比较通用的方案#xff0c;更换开发环境后突然发现conan无法安装三方库了#xff0c;报错如下#xff1a;
zlib/1.2.12: Not found in local cache, looking in remotes...
zlib/1.2.12: Trying with conan-center...
ERROR…背景
c跨平台项目使用conan进行三方库依赖管理是比较通用的方案更换开发环境后突然发现conan无法安装三方库了报错如下
zlib/1.2.12: Not found in local cache, looking in remotes...
zlib/1.2.12: Trying with conan-center...
ERROR: Failed requirement zlib/1.2.12 from conanfile.py (QtConanExample/None)
ERROR: HTTPSConnectionPool(hostcenter.conan.io, port443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLError(1, [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)),))Unable to connect to conan-centerhttps://center.conan.io
1. Make sure the remote is reachable or,
2. Disable it by using conan remote disable,
Then try again.
CMake Error at build/conan.cmake:651 (message):Conan install failed1
Call Stack (most recent call first):CMakeLists.txt:199 (conan_cmake_install)-- Configuring incomplete, errors occurred!字面意思就是SSL证书验证失败了。
解决办法
删除~/.conan/cacert.pem, 然后重试即可。