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

An HTTP error occurred when trying to retrieve this URL.(解決方案)

這篇具有很好參考價值的文章主要介紹了An HTTP error occurred when trying to retrieve this URL.(解決方案)。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

在通過vscode向服務器安裝pytorch時,切換了清華源之后,遇到了下面的錯誤:
An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.
an http error occurred when trying to retrieve this url. http errors are oft,pytorch,vscode,人工智能
遇到此錯誤的時添加的清華源如下:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes

解決方案:
將添加的清華源地址中的https改為http,添加清華源如下:

conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes

改為http后再運行pytorch安裝命令就不會出現(xiàn)上面所提到的錯誤,如下圖所示:
an http error occurred when trying to retrieve this url. http errors are oft,pytorch,vscode,人工智能
附:
清空源命令:文章來源地址http://www.zghlxwxcb.cn/news/detail-649999.html

conda config --remove-key channels

到了這里,關于An HTTP error occurred when trying to retrieve this URL.(解決方案)的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!

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

領支付寶紅包贊助服務器費用

相關文章

  • 【Appium】Failed to create session. An unknown server-side error occurred while processing the command

    【Appium】Failed to create session. An unknown server-side error occurred while processing the command

    報錯信息: 遇到這些錯誤的時候,我們要把 手機開發(fā)者模式的這三個選項都打開 : 因為它要安裝一個軟件: 第一次調試的時候手機端會彈出來個密鑰確定的窗口,大概意思就是是否同意這個計算機對自己的電腦進行調試,要點同意。 然后 手機一定要安裝好要進行調試的軟

    2024年02月16日
    瀏覽(36)
  • Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. (解決)

    Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. (解決)

    ?利用源碼爬蟲下載數(shù)據(jù)集LHQ1024時,pycharm終端運行一直提示Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. 錯誤。 開始以為是電腦開了代理的原因,經過關閉、更換服務器都無法解決。后來訪問其提供的有關urllib3 1.26.12文檔(高級用法 - urllib3 1.26.12 文檔

    2024年02月11日
    瀏覽(16)
  • 如何解決錯誤:An error occurred.問題

    如何解決錯誤:An error occurred.問題

    在使用openai大型Chat GPT對話過程中經常出現(xiàn)如下提示 An error occurred. If this issue persists please contact us through our help center at help.openai.com 這是觸發(fā)了openai的封控機制導致。 解決辦法: 解決訪問提示Access denied等問題

    2024年02月11日
    瀏覽(19)
  • An unexpected connection driver error occured

    An unexpected connection driver error occured

    安裝下載好rabbitmq,我在springboot整合mq,啟動的時候報錯了 An unexpected connection driver error occured 后來又報 Failed to check/redeclare auto-delete queue(s). 綜合就是連接問題,端口有問題 我試過添加賬戶,提高權限,都沒用,參考了 https://blog.csdn.net/weixin_43933728/article/details/124691726 最后發(fā)

    2024年02月11日
    瀏覽(33)
  • pycharm安裝 pandas 庫時出現(xiàn) error occurred when installing package “pandas“以及解決辦法

    pycharm安裝 pandas 庫時出現(xiàn) error occurred when installing package “pandas“以及解決辦法

    在pycharm中的File -- Settings -- Project: pythonProject -- Python Interpreter ,然后找到 + 那里添加庫,但是卻出現(xiàn)error occurred when installing package 報錯: 百度大法后沒啥用,要換編譯器環(huán)境,但是環(huán)境是我剛安裝好的pytorch環(huán)境,因此,不再在pycharm中安裝需要的包,而是在Anaconda Prompt (Anac

    2024年02月08日
    瀏覽(37)
  • pycharm安裝 numpy 庫時出現(xiàn) error occurred when installing package “numpy“以及解決辦法

    pycharm安裝 numpy 庫時出現(xiàn) error occurred when installing package “numpy“以及解決辦法

    ????????今天網上復制了一個代碼,其中有個 import numpy as np,運行時提示需要安裝 numpy 庫,然后我按照網上的方法,按順序點擊 File -- Settings --? Project: pythonProject -- Python Interpreter ,然后找到 + 那里準備添加庫,如下: ? ? ? ? ?然后就報?error occurred when installing package

    2024年02月02日
    瀏覽(22)
  • An error occurred while starting the application

    An error occurred while starting the application

    An error occurred while starting the application. .NET Core 4.6.27617.05 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.2.0-rtm-35687 | Microsoft Windows 6.3.9600 | Need help? 本地與測試庫正常,發(fā)布到正式環(huán)境IIS報這個錯誤,首先這個錯誤,不是版本問題,就是具體錯誤信息沒給顯示到頁面上被屏蔽了,需要

    2024年02月15日
    瀏覽(29)
  • yarn報錯 error An unexpected error occurred httpsregistry.yarnpkg.com...

    1. 報錯原因 使用yarn命令安裝依賴包時報錯,提示信息: error An unexpected error occurred: \\\"https://registry.yarnpkg.com/killable/-/killable-1.0.0.tgz: connect ETIMEDOUT 104.16.19.35:443\\\" 這是由于資源地址請求超時造成的,需要更換一下請求地址。 2. 解決方案 將資源地址設置為淘寶鏡像: 查看當前鏡像

    2024年02月12日
    瀏覽(20)
  • cesium:error:An error occurred while rendering. Rendering has stopped.

    cesium:error:An error occurred while rendering. Rendering has stopped.

    問題情景:配置環(huán)境node.js+npm+cesium時,出現(xiàn)如下問題: ?根據(jù)教程和搜索都沒有看到相關解答,檢查控制臺error ?翻譯發(fā)現(xiàn)時數(shù)據(jù)讀取有問題 根據(jù)官網文檔測試,瀏覽器端沒有問題,html前端架構也沒問題,最終鎖定在腳本引入,即script和css文件,css主樣式,布局沒亂, 比對官

    2024年02月13日
    瀏覽(157)
  • 解決方案:yarn 出現(xiàn)error An unexpected error occurred錯誤的解決辦法

    解決方案:yarn 出現(xiàn)error An unexpected error occurred錯誤的解決辦法

    yarn 相比于 npm 、 cnpm 、 npx 來說,效率很高,是前端工程師首選的 包管理 工具,但今日在項目中遇到一個問題,讓人很是頭疼,看一下報錯: 網上搜索解決方案,查閱了一下yarn官方文檔,查找到一種解決方法 相信出現(xiàn)類似的情況,會幫助到大家?。?!

    2024年02月05日
    瀏覽(58)

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

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

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

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

二維碼1

領取紅包

二維碼2

領紅包