Leeds-MRG / Minos

SIPHER Microsimulation for estimating the effect on Income policy on mental health.
MIT License
3 stars 2 forks source link

Numpy version issue #445

Open paddy-r opened 1 week ago

paddy-r commented 1 week ago

On 369-noparity, had to recreate environment after merging development into it, as some new packages in env file (first and only one I saw before rebuilding environment was r-ranger, don't know whether there are others). Resulted in not being able to import Numpy in a kernel, got error containing this:

ValueError: numpy.dtype size changed, may indicate binary incompatibility...

Solution was to downgrade Numpy (as e.g. here), is open issue with Numpy (see here.) That is: pip install numpy==1.26.4.

Flagging it here in case it pops up for anyone else.