在升級python版本爲3.6以後,pip安裝模塊報錯。html
報錯信息如圖:python
緣由是系統自帶的openssl版本與python3的版本不匹配,因此這裏只要升級openssl版本就能夠解決問題。spa
yum -y install openssl openssl-devel
升級完以後須要從新編譯安裝python。code
編譯安裝python傳送陣。。。。。htm