Matplotlib import error in LCG105

Hi In LCG105 which is the default now I get the following error from importing matplotlib:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_532/1898057964.py in <module>
      5 from glob import glob
      6 
----> 7 import matplotlib.pyplot as plt
      8 from matplotlib.colors import LogNorm
      9 

/cvmfs/sft.cern.ch/lcg/views/LCG_105a_swan/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/matplotlib/__init__.py in <module>
    257 
    258 
--> 259 _check_versions()
    260 
    261 

/cvmfs/sft.cern.ch/lcg/views/LCG_105a_swan/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/matplotlib/__init__.py in _check_versions()
    252     ]:
    253         module = importlib.import_module(modname)
--> 254         if parse_version(module.__version__) < parse_version(minver):
    255             raise ImportError(f"Matplotlib requires {modname}>={minver}; "
    256                               f"you have {module.__version__}")

AttributeError: module 'kiwisolver' has no attribute '__version__'

This does not happen when using the LCG104.
Is this known / can this be fixed?

Thanks!
Artur

Hi Artur,
It’s a problem with matplotlib in the 105a stack, we are in contact with the EP-SFT librarians who maintain the LCG releases on CVMFS to see if they can solve it quickly.

In the meantime, as you said 104 can be used, which is not affected by the issue.

Cheers,

Enric

Dear Artur,

The issue has been fixed for LCG 105a and LCG 105a NXCALS PRO software stacks now.

Best,
Pedro

thank you!