创建yolo虚拟环境

运行

  1. conda create -n yolo python=3.8

报错

  1. Collecting package metadata (current_repodata.json): failed
  2. CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
  3. Elapsed: -
  4. An HTTP error occurred when trying to retrieve this URL.
  5. HTTP errors are often intermittent, and a simple retry will get you on your way.
  6. If your current network has https://www.anaconda.com blocked, please file
  7. a support request with your network engineering team.
  8. 'https://repo.anaconda.com/pkgs/main/win-64'

起先认为是源的问题,更换清华源之后问题依然存在查看了https://www.cnblogs.com/tianlang25/p/12433025.html
发现可能是http的问题
修改.condarc文件为

  1. ssl_verify: true
  2. show_channel_urls: true
  3. channels:
  4. - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/
  5. - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/

解决问题