国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c

這篇具有很好參考價值的文章主要介紹了pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報違法"按鈕提交疑問。

問題:

只是個記錄帖):今天使用pip指令安裝django時報錯:
Could not fetch URL https://pypi.org/simple/django/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/django/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))) - skipping
如下圖:
pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c,Python,pip,ssl,django

解決過程

嘗試1:

網(wǎng)上搜了接解決方法說是安裝源的問題,于是換了豆瓣、清華、阿里云各種安裝源都還是一樣報錯,解決失?。?br>pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c,Python,pip,ssl,django

嘗試2:

stackoverflow說是pip版本問題,需要用pip3才可以安裝,嘗試失敗:
pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c,Python,pip,ssl,django

嘗試3:

2的報錯和1不太一樣,試了一下1 2結(jié)合,解決失?。?br>pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c,Python,pip,ssl,django

解決方法:

想起來是忘了關(guān)梯子,關(guān)掉全局代理就行了…被自己無語到…
pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c,Python,pip,ssl,django文章來源地址http://www.zghlxwxcb.cn/news/detail-720556.html

到了這里,關(guān)于pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點(diǎn)擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 親測有效:虛擬機(jī)安裝gcc,報錯Could not retrieve mirrorlist http://mirrorlist.centos.org

    親測有效:虛擬機(jī)安裝gcc,報錯Could not retrieve mirrorlist http://mirrorlist.centos.org

    ????????網(wǎng)絡(luò)問題 1、修改虛擬機(jī)的網(wǎng)絡(luò)連接模式為 NAT模式 2、右擊桌面,打開終端 ①首先查看網(wǎng)關(guān)配置文件名: 輸入 ifconfig ②配置網(wǎng)卡信息: vi /etc/sysconfig/network-scripts/ifcfg- ens32 ?兩種方法: 點(diǎn)擊鍵盤 I ,開始輸入 第一種:自動配置 ① 1、BOOTPROTO=dhcp(自動獲取ip)

    2024年02月10日
    瀏覽(23)
  • 可能解決方案:WARNING:Retrying (Retry(total=4...after connection broken by ‘SSLError...|Could not fetch URL

    首先說一下背景:我是在服務(wù)器里面跑項目,然后服務(wù)器網(wǎng)絡(luò)的話用的代理proxy 錯誤來源于命令 同樣地,錯誤也出現(xiàn)在conda上。 隨后,我驚奇的發(fā)現(xiàn),只有在我所創(chuàng)的環(huán)境里下載包才會有這樣的問題,在base環(huán)境里完全可以下載包,一點(diǎn)問題都沒有?。。?遇到的第二個問題:

    2024年03月11日
    瀏覽(16)
  • Python pip install 安裝包報錯ERROR: Could not find a version that satisfies the requirement XXX解決方法

    Python pip install 安裝包報錯ERROR: Could not find a version that satisfies the requirement XXX解決方法

    使用 pip 安裝 python 包時,經(jīng)常會出現(xiàn)如下錯誤: 本次在用pip命令(pip install pdf2word)安裝pdf2docx包的時候出錯 因為后來安裝好了,所以故意安裝一個錯誤的pdf2word,來整個圖 可能是國內(nèi)網(wǎng)絡(luò)不穩(wěn)定,直接導(dǎo)致報錯,而不是環(huán)境沖突。報錯信息看起來容易把人誤導(dǎo)到解決包環(huán)境

    2024年01月18日
    瀏覽(107)
  • python使用pip安裝包報錯的解決辦法(ERROR: Could not find a version that satisfies the requirement XXX)

    python使用pip安裝包報錯的解決辦法(ERROR: Could not find a version that satisfies the requirement XXX)

    目錄 解決方法一:更換下載源 解決方法二:使用源碼安裝 解決方法三:通過whl文件安裝 拓展:虛擬環(huán)境下通過源碼安裝第三方庫 使用pip命令安裝python包時可能會出現(xiàn)如下錯誤提示: ERROR: Could not find a version that satisfies the requirement XXX (from v ersions: none) ERROR: No matching distribu

    2024年01月19日
    瀏覽(118)
  • Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.5

    Could not get resource ‘https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.5

    原因:接上一個,當(dāng)我們新建完Android項目,有的同學(xué)遇到這個報錯,意思就是訪問國外的服務(wù)器速度慢,下載不下來kotlin1.5z這個包,原因和你的網(wǎng)絡(luò)有關(guān)系,特別是有同學(xué)使用手機(jī)熱點(diǎn)的,比如我。 解決方法:使用國內(nèi)鏡像,在主工程build.gradle這個文件加入國內(nèi)鏡像源 在

    2024年02月07日
    瀏覽(33)
  • Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-7.0.2-b

    Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-7.0.2-b

    新安裝的AndroidStudio如果Gradle沒有成功安裝,導(dǎo)入一個項目之后,在自動安裝Gradle失敗后會出現(xiàn)下面這種錯誤: 解決辦法:打開下放所提示的下載鏈接,直接下載離線包,找到Gradle安裝的目錄,比如我的目錄是下圖 放進(jìn)去之后如圖: 然后重新打開AndroidStudio即可沒問題了。下

    2024年02月11日
    瀏覽(14)
  • 報錯:Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable

    報錯:Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable

    前言 這段時間想著之前開發(fā)的項目不夠完善,并且代碼寫的不夠規(guī)范,就想著獨(dú)立規(guī)范的開發(fā)一個項目,趁此整合學(xué)過的技術(shù)和豐富自己的項目經(jīng)驗以及規(guī)范代碼。 正文 錯誤出現(xiàn) 項目跑起來之后,進(jìn)行接口測試,發(fā)現(xiàn)響應(yīng)出錯 ?返回控制臺,查看日志輸出: 項目錯誤信息

    2024年02月01日
    瀏覽(24)
  • 解決Android報錯:Could not initialize class org.codehaus.groovy.reflection.ReflectionCache

    新電腦打開一個Android老項目,報以下錯誤 根據(jù)報錯信息來看,包名大部分是是com.gradle,猜測是和gradle版本有關(guān),所以我們升級gradle版本。 打開Android項目根目錄的gradle/wrapper/gradle-wrapper.properties 將distributionUrl后面的值改為新的版本. 同時將對應(yīng)的Android Gradle Plugin版本更新,不

    2024年02月14日
    瀏覽(27)
  • pip selenium 報錯 could not find a version that satisfies the requirement selenium——解決

    pip selenium 報錯 could not find a version that satisfies the requirement selenium——解決

    在使用pip安裝selenium時報錯 EEROR :could not find a version that satisfies the requirement selenium 其實WARNING中已經(jīng)把解決方案寫出來。只要在之前的語句后面再加上? ? --trusted-host mirrors.aliyun.com ? ?就可以了。(注意:因為這里我使用的aliyun的代理,所有這里是aliyun,如果你們使用的是其

    2024年02月12日
    瀏覽(24)
  • 報錯: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom

    報錯: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom

    在maven項目中若要導(dǎo)入SpringBoot, 或是創(chuàng)建SpringBoot項目時,父級依賴的spring-boot-starter-parent通常都會出現(xiàn) Project ‘org.springframework.boot:spring-boot-starter-parent:x.x.x’ not found 或 Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom 的錯誤提示。 問題出現(xiàn)場景 我新建了一個

    2024年02月07日
    瀏覽(28)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包