当尝试升级anaconda发行版时,我不断收到以下错误:
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- pkgs/free/win-64::anaconda==4.4.0=np112py36_0 -> bzip2==1.0.6=vc14_3
- pkgs/free/win-64::anaconda==4.4.0=np112py36_0 -> cryptography==1.8.1=py36_0
[loads of similarly cryptic packages names]
- pkgs/free/win-64::anaconda==4.4.0=np112py36_0 -> vs2015_runtime==14.0.25123=0
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
无论我尝试安装或更新什么方式,都会引发此问题:
conda update --all
和conda update numpy
或我尝试过的任何其他软件包都将其引发,因此这不应归因于某个不在频道中的特定软件包。
当我尝试通过conda update -n root conda
更新anaconda本身时,甚至会引发这种情况。
我尝试从Anaconda导航器更新numpy。
由于this question,我在频道中添加了conda-forge-无济于事。 感谢您的帮助。
编辑:我终于通过完全删除并重新安装Anaconda3来解决了这个问题,但是我仍然不了解到底是什么引起了问题。