I have been working on installing Aldex2 (@dgiguer) in my Qiime environment using Ubuntu. As far as I can tell, I have successfully installed the R package, but when I switch back to my Qiime environment to install Aldex2, I get an error. I ran this code:
conda install -c dgiguere q2-aldex2
Then I got this error:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment:
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
q2-aldex2 -> python=3.6
Your python: python=3.8.15
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your system:
feature:/linux-64::__glibc==2.35=0
feature:|@/linux-64::__glibc==2.35=0
Your installed version is: 2.35
Note that strict channel priority may have removed packages required for satisfiability.
It also hung on the solving environment for over an hour. Is there anything I can do to speed it up?
That plugin is has not been updated to work with later releases of QIIME 2. I would recommend installing an older version of QIIME 2 for this plugin to work. This is the beauty of installing QIIME 2 via conda, you can have many different versions of QIIME 2 on your system at the same time and activate the version you want to use.
I think the latest version of QIIME 2 that can run this plugin is qiime2-2021.2. I do know that it works well in qiime2-2020.6.
So, I recommend following the install instructions for the respective versions of QIIME 2, and then install the plugin. Remember to always click on the red "Show me the content on this page" notice when navigating these older versions.
I'd also remove and re-install the version of QIIME 2 you tried to force install an older version of python, as you can tell, many things just broke.
I tried to get a whole new environment and install an old version of Qiime but I still got a ton of conflicts and it didn't install. I thought that working in a new environment would help, but it didn't.
Sounds like there might be an issue with conda setup? Can you provide a screen shot of the errors when you try to setup a new conda environment for QIIME 2?
I noticed that you are trying to install qiime2-2019.4, this may not work as ALDEx2 was made for qiime2-2019.7 as outlined here, up to and including the versions I mentioned earlier.
Unfortunately this did not work. When I tried to update conda, I had to force it to install by specifying the newest version, which did work. Wget then installed the yml file properly, but conda env create failed in exactly the same way as previously.