Skip to content

Problems with anaconda install  #549

@MaximeBinot

Description

@MaximeBinot

Describe the bug
I am trying to install the engine and I am installing it in a fresh conda env as requested in the first step. I can go through the first steps with no problem but when I try to install pytorch and cuda ( conda install pytorch=1.9.0 torchvision cudatoolkit=11.1 -c pytorch -c nvidia ) I am facing this issue and I have spent plenty of time trying to resolve it but I can't find the issue causing it on my side.

First I get this :

conda install pytorch=1.9.0 torchvision cudatoolkit=11.1 -c pytorch -c nvidia
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: - 
Found conflicts! Looking for incompatible packages. 

Then I get an endless list of uncompatible package ending with this report :

The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__cuda==12.2=0
  - feature:/linux-64::__glibc==2.31=0
  - feature:|@/linux-64::__cuda==12.2=0
  - feature:|@/linux-64::__glibc==2.31=0
  - blas -> libgfortran-ng -> __glibc[version='>=2.17']
  - bzip2 -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
  - cudatoolkit=11.1 -> __glibc[version='>=2.17,<3.0.a0']
  - cudatoolkit=11.1 -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
  - libffi -> libgcc-ng[version='>=9.4.0'] -> __glibc[version='>=2.17']
  - libgcc-ng -> __glibc[version='>=2.17']
  - libgfortran-ng -> __glibc[version='>=2.17']
  - libnsl -> libgcc-ng[version='>=9.4.0'] -> __glibc[version='>=2.17']
  - libopenblas -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']
  - libstdcxx-ng -> __glibc[version='>=2.17']
  - libuuid -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
  - libzlib -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']
  - ncurses -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']
  - openssl -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']
  - pytorch=1.9.0 -> __glibc[version='>=2.17|>=2.17,<3.0.a0']
  - pytorch=1.9.0 -> nccl[version='>=2.10.3.1,<3.0a0'] -> __cuda[version='10.2|10.2.*|11.0|11.0.*|>=11.2,<12|11.1|11.1.*']
  - readline -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']
  - tk -> libgcc-ng[version='>=9.4.0'] -> __glibc[version='>=2.17']
  - torchvision -> __glibc[version='>=2.17|>=2.17,<3.0.a0']
  - torchvision -> pytorch==2.0.0 -> __cuda
  - xz -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.31

To Reproduce
Follow the installation steps describe in the Anaconda section (CUDA 11.X)


Desktop (please complete the following information):

  • OS: Ubuntu 20.04

  • Python version: [e.g. 3.8.5]

  • Anaconda version: conda 23.5.0

  • Minkowski Engine version : 0.5.4

  • Output of the following command. conda install pytorch=1.9.0 torchvision cudatoolkit=10.2 -c pytorch -c nvidia

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