gabriellareggiano / MEDIC

MEDIC (model error detection in cryo-EM)
2 stars 0 forks source link

AlmaLinux9/RHEL9 mkl-random install problems #10

Open wlugmayr opened 4 months ago

wlugmayr commented 4 months ago

INFO: pip is looking at multiple versions of mkl-random to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install medic and medic==1.0 because these package versions have conflicting dependencies.

The conflict is caused by:

medic 1.0 depends on numpy==1.23.4
bokeh 3.0.2 depends on numpy>=1.11.3
bottleneck 1.3.5 depends on numpy
contourpy 1.0.6 depends on numpy>=1.16
mkl-random 1.2.2 depends on numpy<1.25.0 and >=1.24.3
wlugmayr commented 4 months ago

The issue can be solved like follows:

After the conda creation command call: conda install -n medic -y -c intel numpy==1.23.4 mkl_fft mkl_random mkl-service

Before you call the pip installer modify requirements.txt to use the mkl packages without version numbers e.g. mkl-fft mkl-random mkl-service and continue with the pip installation.