qiime2 dependencies glibc-2.29 version and c-ares1.34.2

hello
I am trying to install qiime2 but face issues with the dependencies mentioned in the error. How do I install them with the required version?

kevnael123@MSI ~
$ conda env update --file https://data.qiime2.org/distro/amplicon/qiime2-amplicon-2024.10-py310-linux-conda.yml
/home/kevnael123/miniconda3/lib/python3.12/argparse.py:2000: FutureWarning: remote_definition is deprecated and will be removed in 25.9. Use conda env create --file=URL instead.
action(self, namespace, argument_values, option_string)
Channels:

  • released
  • conda-forge
  • bioconda
  • defaults
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    Channels:
  • released
  • conda-forge
  • bioconda
  • defaults
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides __glibc >=2.28,<3.0.a0 needed by c-ares-1.34.2-heb4867d_0

Could not solve for environment specs
The following package could not be installed
└─ c-ares 1.34.2** is not installable because it requires
└─ __glibc >=2.28,<3.0.a0 , which is missing on the system.

Hi @kevnael,

Welcome to the :qiime2: forum :wave:

Have you tried creating this environment using conda env create (vs. conda env update)? I'm curious if you receive the same error message, or if you're able to create a new environment successfully.

Cheers :lizard:

Hi @kevnael,

Could you also run conda info

We're looking for the virtual packages section. Mine for instance looks like this:

     active environment : base
    active env location : /opt/Miniconda3
            shell level : 1
       user config file : /home/evan/.condarc
 populated config files : /home/evan/.condarc
          conda version : 24.9.2
    conda-build version : 24.9.0
         python version : 3.11.7.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=skylake
                          __conda=24.9.2=0
                          __cuda=11.4=0
                          __glibc=2.38=0
                          __linux=6.4.0=0
                          __unix=0=0

Hello Evan

I hope you are well.

I ran but it gave nothing special...

I mean, I want to install the latest version of Qiime (2024) and run it.

I am using Ubuntu 18.04 for Windows. I have installed qiime but when I run it it gives me this:

I assume that I should at least get the specific version of the installed qiime.

So I decided to remove this one and Install the latest version using the command line found in the qiime tutorial.

Then I got an issue with two dependencies required to complete the installation which are in red in the screenshot below.

image.png

I have glibc 2.27 which not the version required. To fix that, I have followed the link below to get glibc-2.29.

This work only until the last step, because with the "ldd --version" command, it still gives me glibc-2.27 meaning that the installation of the 2.29 version did not work

Now I am out of ideas...

Should I upgrade my ubuntu and start everything over?

Hey @kevnael,

Since you are running in WSL, that's probably the much easier approach. It is also a good idea to use the latest LTS version of Ubuntu in general.

1 Like

Hello Guys
I just want to let you know that everything went smoothly after installing the latest Ubuntu.

What I have learned is that if someone is familiar with Qiime and wants to install it, he should choose the version that is compatible with his version of Ubuntu or upgrade his Ubuntu to the latest and then install the latest Qiime.

2 Likes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.