我一直在尝试在我的笔记本电脑上安装 Anaconda 的“Keras”库。我有最新版本的 Anaconda。之后,我尝试了
conda update conda
conda update --all
以上两个成功。之后我尝试了
conda install -c conda-forge keras
conda install keras
以上均失败并出现以下错误。
ERROR conda.core.link:_execute(502): An error occurred while installing package >'::automat-0.7.0-py_1'. CondaError: Cannot link a source that does not exist. >C:\Users\Anaconda3\Scripts\conda.exe
我从 anaconda 站点将“automat-0.7.0-py_1”下载到一个本地文件夹中,并尝试从那里安装 conda。有用。然而,当我再次尝试安装 Keras 时,再次失败。我现在不知道该怎么办。
最佳答案
我遇到了同样的问题,我使用以下方法解决了:
conda update -n base conda
或者,如果 conda <=4.3:
conda update -n root conda
我看到其他用户解决了
conda config --add pinned_packages defaults::conda
和
conda clean --all --yes
但它对我不起作用。
关于python - 从 Anaconda 安装 Keras 库时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53689684/