I am getting an InvalidArchiveError in anaconda prompt when I am trying to install spacy. How to solve it?

后端 未结 4 1837
刺人心
刺人心 2021-02-08 14:44

InvalidArchiveError(\'Error with archive C:\\Users\\Sahaja Reddy\\Anaconda3\\pkgs\\openssl-1.1.1g-he774522_0.conda. You probably need to delete and re-download or re-create thi

4条回答
  •  不思量自难忘°
    2021-02-08 15:04

    The issue is with corrupt openssl package. You need to first delete all openssl pkg files and reinstall them. This is what I did:

    # as the error show where the openssl files are
    cd  %USERPROFILE%\AppData\Local\Continuum\miniconda3\pkgs\
    # with linux I did rm -fr openssl*
    DEL /Q /F /S "openssl*"
    # install openssl from libarchive
    conda install -c conda-forge libarchive
    

    That reinstall openssl and everything will be back to normal.

提交回复
热议问题