安装conda后想要安装虚拟环境,出现错误
conda create -n py37 python=3.7
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\certifi-2021.10.8-py37haa95532_2oe6049oo\info-certifi-2021.10.8-py37haa95532_2.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\certifi-2021.10.8-py37haa95532_2oe6049oo\info-certifi-2021.10.8-py37haa95532_2.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\python-3.7.11-h6244533_05pdlsvx1\info-python-3.7.11-h6244533_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\python-3.7.11-h6244533_05pdlsvx1\info-python-3.7.11-h6244533_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\wincertstore-0.2-py37haa95532_200n1vs5i\info-wincertstore-0.2-py37haa95532_2.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\wincertstore-0.2-py37haa95532_200n1vs5i\info-wincertstore-0.2-py37haa95532_2.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\sqlite-3.38.0-h2bbff1b_0t80gkg_5\info-sqlite-3.38.0-h2bbff1b_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\sqlite-3.38.0-h2bbff1b_0t80gkg_5\info-sqlite-3.38.0-h2bbff1b_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\pip-21.2.4-py37haa95532_0i4kdtz36\info-pip-21.2.4-py37haa95532_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\pip-21.2.4-py37haa95532_0i4kdtz36\info-pip-21.2.4-py37haa95532_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\ca-certificates-2022.3.18-haa95532_0cgfsgytm\info-ca-certificates-2022.3.18-haa95532_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\ca-certificates-2022.3.18-haa95532_0cgfsgytm\info-ca-certificates-2022.3.18-haa95532_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\setuptools-58.0.4-py37haa95532_0jakbuuc3\info-setuptools-58.0.4-py37haa95532_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\setuptools-58.0.4-py37haa95532_0jakbuuc3\info-setuptools-58.0.4-py37haa95532_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\wheel-0.37.1-pyhd3eb1b0_03otcdmym\info-wheel-0.37.1-pyhd3eb1b0_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\wheel-0.37.1-pyhd3eb1b0_03otcdmym\info-wheel-0.37.1-pyhd3eb1b0_0.tar.zst'")
InvalidArchiveError("Error with archive C:\Users\联想\.conda\pkgs\openssl-1.1.1n-h2bbff1b_0vl7mb_mm\info-openssl-1.1.1n-h2bbff1b_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nFailed to open 'C:\Users\联想\.conda\pkgs\openssl-1.1.1n-h2bbff1b_0vl7mb_mm\info-openssl-1.1.1n-h2bbff1b_0.tar.zst'")
去anaconda安装路径下面找到Anaconda3文件夹,右击选择属性–>安全–>选择当前电脑用户–>编辑,勾选上 写入 的权限–>保存,等待安全信息写入,然后重新执行
解决了吗?我也出现这个问题