tikk3r / flocs

Containers recipes for software stacks used in LOFAR data reduction.
https://tikk3r.github.io/flocs/
GNU General Public License v3.0
6 stars 6 forks source link

container not building 'No module named 'distutils.msvccompiler'' #90

Closed mat-ole closed 2 months ago

mat-ole commented 2 months ago

Currently building the container returns an error during compilation of RMextract:

ModuleNotFoundError: No module named 'distutils.msvccompiler'

It happened after release of setuptools v74.0.0 where they removed some depreciated functions of distutils. Probably it doesn't work well with 1.26.2 version of numpy required in the script.

forcing pip install "setuptools=73.0.1" fixes the problem

tikk3r commented 2 months ago

I think the cause was the RMextract version that was a bit old. It should be fixed now.