1. 程式人生 > >There was a problem confirming the ssl certificate ……

There was a problem confirming the ssl certificate ……

在安裝一個Python庫onetimepass時發生下面的問題:

pip install onetimepass

Could not fetch URL https://pypi.python.org/simple/six/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600) - skipping
Could not find a version that satisfies the requirement six (from onetimepass) (from versions: )
No matching distribution found six (from onetimepass)


經過網上查閱資料,發現是python版本的問題,高版本的Python會預設SSL。

解決方法:

pip install --trusted-host pypi.python.org onetimepass

參考文獻
http://stackoverflow.com/questions/16370583/pip-issue-installing-almost-any-library

相關推薦

mac 下pip安裝python三方庫的時候提示 Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate:......

題記 留言 -c douban index OS -s att 安裝 有什麽問題記得留言,大家一起分享遇到過的大坑 我這邊是換了一個鏡像就好了,具體操作步驟如下(我是MAC): ~:mkdir .pip ~:cd .pip ~:vi pip.conf 將以下內容放入文件pi

There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping

not tlsv1 there htm efi toc tis div pin Could not find a version that satisfies the requirement xlrd (from versions: )No matching distr

windows環境pip安裝時一直報錯Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=

最近專案不忙了~~有開始專研的python大業,上來想用pip安裝一個第三方的庫,就一直報錯: Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate:

There was a problem confirming the ssl certificate ……

在安裝一個Python庫onetimepass時發生下面的問題: pip install onetimepass Could not fetch URL https://pypi.python.org/simple/six/: There was a problem con

mac升級pip報錯There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION]

起因:安裝fasttext(sudo pip install fasttext) 報錯:There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION]  解釋:

Could not fetch URL https://pypi.python.org/simple/tensorflow/: There was a problem confirming the s

  Could not fetch URL https://pypi.python.org/simple/tensorflow/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_

cordova使用fileOpener2開啟剛下載好的APK時報there was a problem pasring the package

結果: 導致結果的原因: 當使用cordova-plugin-file-transfer下載apk時 使用的儲存的路勁有問題 錯誤程式碼如下 window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, func

c.n.discovery.InstanceInfoReplicator : There was a problem with the instance info replicator

在搭建springcloud專案過程中,版本finchrey SR2, 我的微服務pom如下: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"

Excel 錯誤提示“There was a problem sending the command to the program”

ISSUE When you double-click an Excel workbook or a shortcut to an Excelworkbook, Excel starts. However, the Excel workbook does not ope

win10 安裝nodejs,報錯there is a problem in the windows installer package

nload 裝包 ack next org get 就是 技術分享 提示符 1. 在開始面板找到命令提示符,右鍵選擇“以管理員身份運行” 2. 進入到安裝包的文件目錄內 3. 回到命令提示符窗口,運行安裝包名字 之後會跳出安裝提示,點擊運行 之後就一直next,就

SVN——there has been a problem contacting the server...

前言   今天下來,小編收到李總的一條訊息,說是他那裡可以訪問專案,但是無法檢視該專案的歷史記錄,然後讓小編看看伺服器端的配置是不是有什麼問題,然後小編就看了看,查了查,發現問題挺好解決的,本來是不想

net.sf.json.JSONException: There is a cycle in the hierarchy!

遞歸 組裝 set mil 對象 數組 tail csdn 都沒有 轉自:https://blog.csdn.net/waysoflife/article/details/24351051 原因分析: 這個異常是由於JSONObject插件內部會無限拆解你傳入的對象,直

atitit 解決net sf json JSONException There is a cycle in the h

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

報錯問題解決:net.sf.json.JSONException: There is a cycle in the hierarchy!

若非java這一塊相關的戰友,直接點評即可,無需閱讀文章報錯問題:net.sf.json.JSONException: There is a cycle in the hierarchy!atnet.sf.json.util.CycleDetectionStrategy$St

Error:A problem was found with the configuration of task ':app:packageRelease'. > File 'F:\AndroidSt

異常資訊: 配置的屬性檔案不存在 Error:A problem was found with the configuration of task ':app:packageRelease'.File ' > F:\AndroidStudioPro

打包出現這個錯誤Error:A problem was found with the configuration of task ':app:packageRelease'.

         打包提示這個錯誤。Error:A problem was found with the configuration of task ':app:packageRelease'. 想了一下才發現是添加了一個屬性.          在gradl裡面添加了這個

php SSL certificate problem: unable to get local issuer certificate

param response clas function -type span head urn content 加上 curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,FALSE); 就可以了 百度語音的demo: <?php

a different object with the same identifier value was already associated with the session

user exc factory cti lec execute with sta 兩個 錯誤提示: org.springframework.dao.DuplicateKeyException: a different object with the same identi

ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

log extension -m ins clas mac problem nbsp style 官方已經給出解決方案:https://github.com/pyenv/pyenv/wiki/Common-build-problems#error-the-py

[PHP] curl: (60) SSL certificate problem: unable to get local issuer certificate

art src 授權 targe 解決 href lan ini san 對接微信授權的時候提示這個錯誤 從https://curl.haxx.se/ca/cacert.pem下載cacert.pem 在 php.ini中修改位置(curl.cainfo)如下: 重啟後問