Skip to content

[Recommended Conda] Installation causes dependency conflicts #582

@walidabualafia

Description

@walidabualafia

Hi all,

I can't seem to install the GPU dependencies correctly for the latest version of eman2. I keep running into this dependency conflict:

Installing collected packages: jax-cuda12-pjrt, toolz, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-nvcc-cu12, nvidia-cuda-cupti-cu12, nvidia-cuda-cccl-cu12, nvidia-cublas-cu12, numpy, jax-cuda12-plugin, nvidia-nvshmem-cu12, nvidia-cusparse-cu12, nvidia-cufft-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, jaxlib, jax, chex, optax
  Attempting uninstall: numpy
    Found existing installation: numpy 1.26.4
    Uninstalling numpy-1.26.4:
      Successfully uninstalled numpy-1.26.4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
numba 0.63.1 requires numpy<2.4,>=1.22, but you have numpy 2.4.1 which is incompatible.
Successfully installed chex-0.1.91 jax-0.9.0 jax-cuda12-pjrt-0.9.0 jax-cuda12-plugin-0.9.0 jaxlib-0.9.0 numpy-2.4.1 nvidia-cublas-cu12-12.9.1.4 nvidia-cuda-cccl-cu12-12.9.27 nvidia-cuda-cupti-cu12-12.9.79 nvidia-cuda-nvcc-cu12-12.9.86 nvidia-cuda-nvrtc-cu12-12.9.86 nvidia-cuda-runtime-cu12-12.9.79 nvidia-cudnn-cu12-9.18.0.77
nvidia-cufft-cu12-11.4.1.4 nvidia-cusolver-cu12-11.7.5.82 nvidia-cusparse-cu12-12.5.10.65 nvidia-nccl-cu12-2.29.2 nvidia-nvjitlink-cu12-12.9.86 nvidia-nvshmem-cu12-3.5.19 optax-0.2.6 toolz-1.1.0

Is there a specific version of numba that I can install? Alternatively, does eman2 depend on a certain version of numpy that is not <2.4,>=1.22?

FWIW the conflicting numpy was installed with Conda during the eman2 installation (conda environment creation).

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions