"conda update anaconda" broke jupyter-lab notebooks by deleting nbformat.v4.4.schema.json file from /home/.../anaconda3/lib/python3.8/site-packages/nbformat/v4 folder (Linux Mint 20.1, Python 3.8)

Skip to first unread message

Paulo Candeias

Jan 14, 2021, 6:39:51 PMJan 14
to Anaconda

the subject of this message pretty much summarises the issue (Linux Mint 20.1, Python 3.8).

After updating the anaconda packages through "conda update anaconda", nbformat was updated to version 5.1.1:

# Name                    Version                   Build  Channel
nbformat                  5.1.1              pyhd3eb1b0_0 

I was not able to open anymore my .ipynb files in JupyterLab. What i noticed was that all the .json files in folder


were deleted during the update process.

I had to fetch the "nbformat.v4.4.schema.json" file from the GitHub repository in order to be able open the .ipynb files again.

My environment looks like this:

# packages in environment at /home/.../anaconda3:
# Name                    Version                   Build  Channel
_anaconda_depends         2020.07                  py38_0  
anaconda                  custom                   py38_1  
anaconda-client           1.7.2                    py38_0  
anaconda-navigator        1.10.0                   py38_0  
anaconda-project          0.9.1              pyhd3eb1b0_1  
conda                     4.9.2            py38h06a4308_0  
conda-build               3.20.5                   py38_1  
conda-env                 2.6.0                         1  
conda-package-handling    1.7.2            py38h03888b9_0  
conda-verify              3.4.2                      py_1  

Best regards,
Paulo Candeias
Reply all
Reply to author
0 new messages