Unable to install Qiime2-2022.2

Hi,

I uninstalled my qiime2 today because I can't seem to run the adonis plugin and it was one of the recommendation of this post.

So I followed the uninstallation from this post.

However, when I try to reinstall Qiime, I got this error message.

conda env create -n qiime2 --file qiime2-2022.2-py38-osx-conda.yml
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(730): An error occurred while installing package 'bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_1'.
Rolling back transaction: done
class: LinkError
message:
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_1
location of failed script: /Users/pkmnsandy/opt/miniconda3/envs/qiime2/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==

==> script output <==
stdout: ERROR: post-link.sh was unable to download any of the following URLs with the md5sum 74c82f26111062a9ceb3c5331088cd56:
https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz
https://bioarchive.galaxyproject.org/GenomeInfoDbData_1.2.7.tar.gz
https://depot.galaxyproject.org/software/bioconductor-genomeinfodbdata/bioconductor-genomeinfodbdata_1.2.7_src_all.tar.gz

stderr: QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 416 100 416 0 0 2007 0 --:--:-- --:--:-- --:--:-- 2009
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 153 100 153 0 0 155 0 --:--:-- --:--:-- --:--:-- 155
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 153 100 153 0 0 140 0 0:00:01 0:00:01 --:--:-- 140

return code: 1

kwargs:
{}

Traceback (most recent call last):
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1114, in call
return func(*args, **kwargs)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda_env/cli/main.py", line 80, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda_env/cli/main_create.py", line 143, in execute
result[installer_type] = installer.install(prefix, pkg_specs, args, env)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda_env/installers/conda.py", line 59, in install
unlink_link_transaction.execute()
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/core/link.py", line 281, in execute
self._execute(tuple(concat(interleave(self.prefix_action_groups.values()))))
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/core/link.py", line 744, in _execute
raise CondaMultiError(tuple(concatv(
conda.CondaMultiErrorclass: LinkError
message:
post-link script failed for package bioconda::bioconductor-genomeinfodbdata-1.2.7-r41hdfd78af_1
location of failed script: /Users/pkmnsandy/opt/miniconda3/envs/qiime2/bin/.bioconductor-genomeinfodbdata-post-link.sh
==> script messages <==

==> script output <==
stdout: ERROR: post-link.sh was unable to download any of the following URLs with the md5sum 74c82f26111062a9ceb3c5331088cd56:
https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz
https://bioarchive.galaxyproject.org/GenomeInfoDbData_1.2.7.tar.gz
https://depot.galaxyproject.org/software/bioconductor-genomeinfodbdata/bioconductor-genomeinfodbdata_1.2.7_src_all.tar.gz

stderr: QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 416 100 416 0 0 2007 0 --:--:-- --:--:-- --:--:-- 2009
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 153 100 153 0 0 155 0 --:--:-- --:--:-- --:--:-- 155
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 153 100 153 0 0 140 0 0:00:01 0:00:01 --:--:-- 140

return code: 1

kwargs:
{}

: <exception str() failed>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/pkmnsandy/opt/miniconda3/bin/conda-env", line 7, in
sys.exit(main())
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda_env/cli/main.py", line 91, in main
return conda_exception_handler(do_call, args, parser)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1404, in conda_exception_handler
return_value = exception_handler(func, *args, **kwargs)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1117, in call
return self.handle_exception(exc_val, exc_tb)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1148, in handle_exception
return self.handle_application_exception(exc_val, exc_tb)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1162, in handle_application_exception
self._print_conda_exception(exc_val, exc_tb)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1166, in _print_conda_exception
print_conda_exception(exc_val, exc_tb)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/exceptions.py", line 1091, in print_conda_exception
stderrlog.error("\n%r\n", exc_val)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/logging/init.py", line 1475, in error
self._log(ERROR, msg, args, **kwargs)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/logging/init.py", line 1589, in _log
self.handle(record)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/logging/init.py", line 1598, in handle
if (not self.disabled) and self.filter(record):
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/logging/init.py", line 806, in filter
result = f.filter(record)
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/gateways/logging.py", line 51, in filter
record.msg = record.msg % new_args
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/init.py", line 101, in repr
errs.append(e.repr())
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/init.py", line 58, in repr
return '%s: %s' % (self.class.name, str(self))
File "/Users/pkmnsandy/opt/miniconda3/lib/python3.9/site-packages/conda/init.py", line 62, in str
return str(self.message % self._kwargs)
ValueError: unsupported format character 'T' (0x54) at index 833

I already tried this solution and I can't still reinstall it again.

I am using a Mac Mini Server (Late 2012), running a macOS Monterey (through OpenCore Legacy Patcher). I have used Qiime in this hard- and software before with no problem. Only this time I have trouble reinstalling it back.

Thank you very much.

Sandy

Hello Sandy!

I'm not sure I have a perfect solution, but hopefully I can help get you started.

While this is fine, it may cause issues if you already have a conda env named 'qiime2' for a different version of Qiime. This is why we recommend naming your conda environment after your qiime install, like this:
conda env create -n qiime2-2022.2 --file qiime2-2022.2-py38-osx-conda.yml

Hi, thank you for your answer. But I already tried it and yeah, I can't install it. I even manually deleted the env folder directly but it still doesn't work.

1 Like

Thank you for trying that, and telling me more.

Looks like this is a standing issue with the bioconductor-genomeinfodbdata package:

Let's see if anyone else has ideas

Hello @pkmnsandy, you should be able to install QIIME 2 now if you try again. Thank you.

Hi, I can now install Qiime2 in my computer with no problem. Thank you so much :slight_smile:

An off-topic reply has been split into a new topic: unable to install QIIME 2 2022.2

Please keep replies on-topic in the future.

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