python系列&deep_study系列:Anaconda使用Conda安装时报错InvalidArchiveError




Anaconda使用Conda安装时报错InvalidArchiveError

Anaconda使用Conda安装时报错InvalidArchiveError

报错类型大致如下:

InvalidArchiveError(
"Error with archive C:\\Users\\Ad\\.conda\\pkgs\\paddlepaddle-1.6.1-py37_cpu_windows.tar.bz2.  You probably need to delete and re-download or re-create this file.  Message from libarchive was:\n\nFailed to open 'C:\\Users\\ Ad\\.conda\\pkgs\\paddlepaddle-1.6.1-py37_cpu_windows.tar.bz2'")
InvalidArchiveError(
"Error with archive C:\\Users\\Ad\\.conda\\pkgs\\certifi-2019.9.11-py37_0.tar.bz2.  You probably need to delete and re-download or re-create this file.  Message from libarchive was:\n\nFailed to open 'C:\\Users\\Ad\\.conda\\pkgs\\certifi-2019.9.11-py37_0.tar.bz2'")
InvalidArchiveError("Error with archive C:\\Users\\Ad\\.conda\\pkgs\\conda-4.7.12-py37_0.tar.bz2.  You probably need to delete and re-download or re-create this file.  Message from libarchive was:\n\nFailed to open 'C:\\Users\\Ad\\.conda\\pkgs\\conda-4.7.12-py37_0.tar.bz2'")

两种解决方案:

管理员身份打开

在这里插入图片描述

修改权限

右键.conda–>属性–>修改

在这里插入图片描述







正如此时

Anaconda使用Conda安装时报错InvalidArchiveError

posted @ 2024-10-13 13:33  坦笑&&life  阅读(32)  评论(0编辑  收藏  举报  来源