我试图用Anaconda安装Jupyter Notebook,但显示错误

时间:2020-08-07 12:01:14

标签: jupyter-notebook anaconda conda

当我尝试通过Anaconda Navigator启动它时,它什么也没有启动。之后,我尝试通过Anaconda Prompt安装它。但这显示了错误:

InvalidArchiveError("Error with archive C:\\Users\\User Name\\.conda\\pkgs\\python_abi-3.8-1_cp38.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\\User Name\\.conda\\pkgs\\python_abi-3.8-1_cp38.tar.bz2'")
InvalidArchiveError("Error with archive C:\\Users\\User Name\\.conda\\pkgs\\conda-4.8.3-py38h32f6830_2.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\\User Name\\.conda\\pkgs\\conda-4.8.3-py38h32f6830_2.tar.bz2'")
InvalidArchiveError("Error with archive C:\\Users\\User Name\\.conda\\pkgs\\openssl-1.1.1g-he774522_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\\User Name\\.conda\\pkgs\\openssl-1.1.1g-he774522_0.tar.bz2'")

2 个答案:

答案 0 :(得分:0)

删除C:\ Users \ User Name \ .conda目录,然后重新安装Anaconda。也许这些文件在安装过程中已损坏,最好的建议是删除与以前的安装有关的所有内容。

答案 1 :(得分:0)

我自己解决了它,我只是在conda shell上启动了它