Error raised during QIIME2 installation


I’m been trying to install the latest release of QIIME2 in my laptop - MacBook Pro13 (macOS Sierra).

After following the instructions available in the QIIME2 website, I got the next error:

"# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "/Users/arenha/miniconda3/lib/python3.6/site-packages/conda/", line 819, in __call__
    return func(*args, **kwargs)
  File "/Users/arenha/miniconda3/lib/python3.6/site-packages/conda_env/cli/", line 74, in do_call
    exit_code = getattr(module, func_name)(args, parser)
  File "/Users/arenha/miniconda3/lib/python3.6/site-packages/conda_env/cli/", line 79, in execute
  File "/Users/arenha/miniconda3/lib/python3.6/site-packages/conda_env/specs/", line 20, in detect
    if spec.can_handle():
  File "/Users/arenha/miniconda3/lib/python3.6/site-packages/conda_env/specs/", line 14, in can_handle
    self._environment = env.from_file(self.filename)
  File "/Users/arenha/miniconda3/lib/python3.6/site-packages/conda_env/", line 83, in from_file
    yamlstr =
  File "/Users/arenha/miniconda3/lib/python3.6/", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

$ /Users/arenha/miniconda3/bin/conda-env create -n qiime2-2018.4 --file qiime2-2018.4-py35-osx-conda.yml

environment variables:

 active environment : None
   user config file : /Users/arenha/.condarc

populated config files : /Users/arenha/.condarc
conda version : 4.5.1
conda-build version : not installed
python version :
base environment : /Users/arenha/miniconda3 (writable)
channel URLs :
package cache : /Users/arenha/miniconda3/pkgs
envs directories : /Users/arenha/miniconda3/envs
platform : osx-64
user-agent : conda/4.5.1 requests/2.18.4 CPython/3.6.4 Darwin/16.7.0 OSX/10.12.6
UID:GID : 501:20
netrc file : None
offline mode : False

An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
[y/N]: N

No report sent. To permanently opt-out, use

$ conda config --set report_errors false"

Do you have any idea what could be.
Thanks in advance!


I already installed successfully QIIME2.

I guess that the problem was due to “conda install wget”. I did not run this because I thought that since I already had “wget” I do not need to install it twice, but may be it needs to be installed by conda. After running this step, I was able to install successfully QIIME2.

I’m apologize to cause any trouble without follow exactly what it is in the installation guidelines.


No worries @antonioggsousa! Thanks for following up - although I must say I am a bit confused - you should’ve been able to use your system-installed wget here. Looking at your traceback above, it looks like there is a conda config or system env var issue at work here, but, since you got things working, I would just file it away for a rainy day. TLDR, you should be able to download the env file however you want - including via a web browser. All that matters is you download it somehow, so that conda can use it. Thanks! :t_rex:

1 Like

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