Anaconda创建虚拟环境、下载等指令都不能用的时候

报错情况
$ conda update anaconda-navigator
Solving environment: failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

`$ C:\Users\Z.Zhou\Anaconda3\Scripts\conda update anaconda-navigator`

  environment variables:
                 CIO_TEST=<not set>
               CONDA_ROOT=C:\Users\Z.Zhou\Anaconda3
                  EXEPATH=C:\Program Files\Git\bin
                 HOMEPATH=\Users\Z.Zhou
          MOZ_PLUGIN_PATH=C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\
                     PATH=C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users
                          \Z.Zhou\bin;C:\Rtools\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windo
                          ws\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Wi
                          ndowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA
                          Corporation\PhysX\Common;C:\Program
                          Files\MATLAB\R2014a\runtime\win64;C:\Program
                          Files\MATLAB\R2014a\bin;C:\Program Files\MATLAB\R2014a\polyspace\bin;C
                          :\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\Syst
                          em32\WindowsPowerShell\v1.0\;C:\Program
                          Files\Intel\WiFi\bin\;C:\Program Files\Common
                          Files\Intel\WirelessCommon\;C:\Program Files (x86)\Microsoft SQL
                          Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files
                          (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files
                          (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files
                          (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program
                          Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program
                          Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft
                          SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL
                          Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files
                          (x86)\Microsoft Visual Studio
                          9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft
                          SQL Server\100\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program
                          Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Z.Zhou\Ana
                          conda3;C:\Users\Z.Zhou\Anaconda3\Library\mingw-w64\bin;C:\Users\Z.Zhou
                          \Anaconda3\Library\usr\bin;C:\Users\Z.Zhou\Anaconda3\Library\bin;C:\Us
                          ers\Z.Zhou\Anaconda3\Scripts;C:\Users\Z.Zhou\AppData\Local\Microsoft\W
                          indowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Fi
                          les\Intel\WirelessCommon\;C:\Users\Z.Zhou\AppData\Local\GitHubDesktop\
                          bin;C:\Users\Z.Zhou\AppData\Local\Microsoft\WindowsApps;C:\Program
                          Files\Microsoft VS Code\bin
             PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
                          PowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL
                          Server\130\Tools\PowerShell\Modules\
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : None
       user config file : C:\Users\Z.Zhou\.condarc
 populated config files : C:\Users\Z.Zhou\.condarc
          conda version : 4.5.4
    conda-build version : 3.10.5
         python version : 3.6.5.final.0
       base environment : C:\Users\Z.Zhou\Anaconda3  (writable)
           channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Z.Zhou\Anaconda3\pkgs
                          C:\Users\Z.Zhou\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Z.Zhou\Anaconda3\envs
                          C:\Users\Z.Zhou\AppData\Local\conda\conda\envs
                          C:\Users\Z.Zhou\.conda\envs
               platform : win-64
             user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Windows/10 Windows/10.0.16299
          administrator : False
             netrc file : None
           offline mode : False

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2>
Elapsed: -

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.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/noarch/repodata.json.bz2 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000231CDC835C0>: Failed to establish a new connection: [Errno 11003] getaddrinfo failed',))",),)

A reportable application error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
[y/N]: y
Upload did not complete.
Thank you for helping to improve conda.
Opt-in to always sending reports (and not see this message again)
by running

    $ conda config --set report_errors true

尝试使用以下指令

conda config --set ssl_verify false
在使用Anaconda创建虚拟环境时,常见的指令包括以下几个: 1. 创建虚拟环境: 使用命令`conda create --name <环境名称>`来创建一个新的虚拟环境。例如,`conda create --name myenv`将创建一个名为"myenv"的虚拟环境。 2. 激活虚拟环境: 使用命令`conda activate <环境名称>`来激活之前创建的虚拟环境。例如,`conda activate myenv`将激活名为"myenv"的虚拟环境。 3. 查看虚拟环境中已安装的包: 使用命令`conda list`来查看当前激活的虚拟环境中已安装的包。这将列出所有已安装的包及其版本信息。 4. 关闭虚拟环境: 使用命令`conda deactivate`来关闭当前激活的虚拟环境。这将返回到基础环境或系统默认环境。 5. 删除虚拟环境: 使用命令`conda env remove --name <环境名称>`来删除之前创建的虚拟环境。例如,`conda env remove --name myenv`将删除名为"myenv"的虚拟环境。请注意,删除虚拟环境是不可逆操作,请谨慎使用。 这些是一些常见的Anaconda创建虚拟环境指令。通过这些指令,您可以方便地创建、激活、查看和删除虚拟环境。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Windows下安装anaconda创建虚拟环境、常见的conda命令](https://blog.csdn.net/qq_46096701/article/details/125721759)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [Anaconda创建python环境常见命令](https://blog.csdn.net/m0_59405106/article/details/124242023)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值