Greenplum源碼編譯安裝ORCA握手失敗解決 - Caused by SSLError(SSLError("bad handshake: ...)

場景: python

Greenplum在Mac上源碼編譯安裝的時候,首先須要安裝ORCA,安裝ORCA的過程當中,報錯了。git

報錯內容: app

ChrisdeMacBook-Pro:depends chris$ make CONAN_USER_HOME=/Users/chris/git/gpdb/depends conan install --build=missing conanfile_orca.txt orca/v2.56.0@gpdb/stable: Not found in local cache, looking in remotes... orca/v2.56.0@gpdb/stable: Trying with 'conan-center'... From cffi callback : Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 313, in wrapper _lib.X509_up_ref(x509) AttributeError: 'module' object has no attribute 'X509_up_ref' ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/conans/orca/v2.56.0/gpdb/stable/download_urls (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),)) Unable to connect to conan-center=https://conan.bintray.com make: *** [orca] Error 1 python2.7

報錯緣由:ui

複查前面的步驟,發現有一步python庫衝突: pyopenssl 17.5.0 has requirement cryptography>=2.1.4, but you'll have cryptography 1.9 which is incompatible.url

解決方法: spa

卸載衝突庫後從新make編譯便可。server

ChrisdeMacBook-Pro:depends chris$ pip2 uninstall cryptographyip

Uninstalling cryptography-1.9:ssl

  Would remove:

    /usr/local/lib/python2.7/site-packages/cryptography-1.9.dist-info/*

    /usr/local/lib/python2.7/site-packages/cryptography/*

Proceed (y/n)? y

  Successfully uninstalled cryptography-1.9

相關文章
相關標籤/搜索