康达更新-所有失败

时间:2020-07-29 02:43:58

标签: python anaconda conda

我正在尝试更新计算机上的anaconda,但得到以下信息:

         (base) Chriss-MBP:opt chrisgaughan$ pwd
         /opt
         (base) Chriss-MBP:opt chrisgaughan$ ls -la
          total 0
          drwxr-xr-x   5 root          wheel  160 Mar 24 18:05 .
          drwxr-xr-x  22 root          admin  704 Jul 17 12:16 ..
          drwxr-xr-x   9 root          wheel  288 Sep 27  2016 X11
          drwxr-xr-x   2 chrisgaughan  wheel   64 Jul 28 22:27 anaconda3
          drwxr-xr-x  11 root          wheel  352 Jun  9 12:40 local
          (base) Chriss-MBP:opt chrisgaughan$ sudo conda update --all
          Password:
          Collecting package metadata (current_repodata.json): failed

          UnavailableInvalidChannel: The channel is not accessible or is invalid.
          channel name: vpython/vpython-jupyter
          channel url: https://github.com/vpython/vpython-jupyter
          error code: 404
          You will need to adjust your conda configuration to proceed.
          Use `conda config --show channels` to view your configuration's current state,
          and use `conda config --show-sources` to view config file locations.

有人可以提出建议吗?我对这方面的知识非常有限

1 个答案:

答案 0 :(得分:1)

很明显,访问vpython通道(软件包存储库)存在问题。如果此软件包可从其他渠道获得,则可以通过编辑配置文件来切换渠道(通过运行conda config --show channels找到其位置)。很有可能不是这种情况,并且程序包是唯一的-然后我建议您等待(这样问题就会很快消失)或与渠道维护者联系-请参阅https://vpython.org/