matplotlib / matplotlib/ipympl
Conda Installation Safety Error - Size does not match reported size
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the issue
I get an error when I try to install ipympl using conda as part of a python 3.11 environment.
```shell
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
```
Contributor guide
Research direction
Start by reproducing the conda installation with the reported Python 3.11.9, ipympl 0.9.4, and Jupyter versions, then inspect etc/jupyter/labconfig/page_config.json and the package's reported metadata. Compare the reported and actual file sizes; done means the cause is documented or the package installs without the SafetyError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100