TomographicImaging / CIL-Demos

Apache License 2.0
20 stars 12 forks source link

GColab conda install #111

Open epapoutsellis opened 1 year ago

epapoutsellis commented 1 year ago

Atm, there is an error

numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

coming from the CCPi regularisation toolkit (related to numpy=1.22) using the following cmd

!mamba install -c conda-forge -c intel -c astra-toolbox -c ccpi cil=22.0.0 astra-toolbox ccpi-regulariser tomophantom --quiet

To fix it we need to force numpy=1.20.3 (see here

!mamba install -c conda-forge -c intel -c astra-toolbox -c ccpi cil=22.0.0 numpy==1.20.3 astra-toolbox ccpi-regulariser tomophantom --quiet
paskino commented 1 year ago

What is the error?