Open RENE-GASTAUD opened 1 month ago
Hi Rene- Yes, per https://jwst-docs.stsci.edu/jwst-science-calibration-pipeline/jwst-operations-pipeline-build-information/jwst-operations-pipeline-build-10-2-release-notes the numpy 2.0 release broke previously-released pipeline versions. jwst patch release version 1.14.1 fixed this by pinning numpy to a compatible version, as does manually pip installing an earlier numpy version.
Sounds like it would be helpful to add this information in a few more places.
Checking the pipeline, yesterday July 22nd) I tried to install the pipeline version 1.14.0 I typed conda create --name pipeline_1p14p0 python=3.11 conda activate pipeline_1p14p0 pip install jwst==1.14.0 pip install ipython**
export CRDS_PATH=$HOME/MIRI/CRDS export CRDS_SERVER_URL=https://jwst-crds.stsci.edu
When I typed inside the ipython session : from jwst.pipeline import Detector1Pipeline
I got this error message ImportError: numpy.core.multiarray failed to import
The numpy version is 2.0.1 I installed the numpy version 1.26.4 and the error message disappeared.
SO THIS IS NOT A BUG OF JWST PIPELINE, BUT OF NUMPY !
In the documentation for installing the pipeline, we have to give python version and numpy version !