matplotlib / ipympl

Matplotlib Jupyter Integration
https://matplotlib.org/ipympl/
BSD 3-Clause "New" or "Revised" License
1.59k stars 225 forks source link

Conda Installation Safety Error - Size does not match reported size #563

Open amole-arup opened 3 months ago

amole-arup commented 3 months ago

Describe the issue

I get an error when I try to install ipympl using conda as part of a python 3.11 environment.

SafetyError: The package for ipympl located at C:\Users\andrew.mole\AppData\Local\miniforge3\pkgs\ipympl-0.9.4-pyhd8ed1ab_0
appears to be corrupted. The path 'etc/jupyter/labconfig/page_config.json'
has an incorrect size.
  reported size: 28 bytes
  actual size: 30 bytes

Versions

3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:27:10) [MSC v.1938 64 bit (AMD64)]
ipympl version: 0.9.4
Selected Jupyter core packages...
IPython          : 8.26.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.3
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
jupyter_server   : 2.14.2
jupyterlab       : 4.2.4
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.1
qtconsole        : 5.5.2
traitlets        : 5.14.3
noushinquazi commented 2 months ago

I have this same issue across different conda environment installs