I have conda 4.8.1 running on windows 10 enterprise edition and it is showing me following error whenever I try to install notebook.
InvalidArchiveError("Error with archive D:\\Miniconda3\\pkgs\\notebook-6.0.2-py37_0ujelie94\\pkg-notebook-6.0.2-py37_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nCan't create '\\\\?\\D:\\Miniconda3\\pkgs\\notebook-6.0.2-py37_0\\Lib\\site-packages\\notebook\\static\\components\\MathJax\\extensions\\a11y\\invalid_keypress.mp3'")
I have tried different versions of notebook and reinstalled anaconda and miniconda many times. Nothing seems to work.
Jupyter Notebook can easily be installed using conda. Our plan is to only install it in the base environment, and then just switch between sub-environments to avoid setting up Jupyter Lab in each environment.
I had the same problem on Ubuntu 18.04, I used conda clean -a
and then it works perfectly.
Actually what conda clean -a
does is cleaning the compressed .bz files and deleting older versions of package folders and does nothing to the new ones.
P.S.: Make sure you installed Anaconda or Miniconda into a directory that contains only 7-bit ASCII characters and no spaces, such as C:\anaconda!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With