Hello, I am not the original poster but am running into the same errors as they are. I tried the troubleshooting suggested in both replies and am unfortunately getting the same error after the clean install of Miniconda3. I am a new user so I apologize for not being able to copy and paste the error correctly.
CONDA_SUBDIR=osx-64 conda env create -n qiime2-metagenome-2024.5 -f https: //github . com/qiime2/distributions/blob/dev/2024.5/metagenome/released/qiime2-metagenome-macos-latest-conda.yml
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/opt/miniconda3/lib/python3.12/site-packages/conda/exception_handler.py", line 18, in __call__
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/cli/main.py", line 84, in main_subshell
exit_code = do_call(args, parser)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/cli/conda_argparse.py", line 200, in do_call
result = getattr(module, func_name)(args, parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/notices/core.py", line 132, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/cli/main_env_create.py", line 113, in execute
spec = specs.detect(
^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/env/specs/__init__.py", line 71, in detect
if spec.can_handle():
^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/env/specs/yaml_file.py", line 19, in can_handle
self._environment = env.from_file(self.filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/env/env.py", line 173, in from_file
return from_yaml(yamlstr, filename=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/env/env.py", line 139, in from_yaml
data = yaml_safe_load(yamlstr)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/conda/common/serialize.py", line 46, in yaml_safe_load
return _yaml_safe().load(string)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/main.py", line 434, in load
return constructor.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/constructor.py", line 119, in get_single_data
node = self.composer.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/composer.py", line 76, in get_single_node
document = self.compose_document()
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/composer.py", line 102, in compose_document
self.parser.get_event()
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/parser.py", line 168, in get_event
self.current_event = self.state()
^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/parser.py", line 253, in parse_document_end
token = self.scanner.peek_token()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/scanner.py", line 188, in peek_token
self.fetch_more_tokens()
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/scanner.py", line 288, in fetch_more_tokens
return self.fetch_value()
^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/ruamel/yaml/scanner.py", line 657, in fetch_value
raise ScannerError(
ruamel.yaml.scanner.ScannerError: mapping values are not allowed here
in "<unicode string>", line 213, column 75:
... age-responsive" style="word-wrap: break-word;">
^ (line: 213)
$ /opt/miniconda3/bin/conda env create -n qiime2-metagenome-2024.5 -f https://github.com/qiime2/distributions/blob/dev/2024.5/metagenome/released/qiime2-metagenome-macos-latest-conda.yml
environment variables:
CIO_TEST=
CONDA_DEFAULT_ENV=base
CONDA_EXE=/opt/miniconda3/bin/conda
CONDA_PREFIX=/opt/miniconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
CONDA_ROOT=/opt/miniconda3
CONDA_SHLVL=1
CONDA_SUBDIR=osx-64
CURL_CA_BUNDLE=
LD_PRELOAD=
PATH=/opt/miniconda3/bin:/opt/miniconda3/condabin:/Library/Frameworks/Pytho
n.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr
/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptex
d/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cry
ptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypt
exd/codex.system/bootstrap/usr/appleinternal/bin
REQUESTS_CA_BUNDLE=
SSL_CERT_FILE=
active environment : base
active env location : /opt/miniconda3
shell level : 1
user config file : /Users/annaneustaeter/.condarc
populated config files : /Users/annaneustaeter/.condarc
conda version : 24.5.0
conda-build version : not installed
python version : 3.12.4.final.0
solver : libmamba (default)
virtual packages : __archspec=1=m2
__conda=24.5.0=0
__osx=10.16=0
__unix=0=0
base environment : /opt/miniconda3 (writable)
conda av data dir : /opt/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https:// repo. anaconda. com/pkgs/main/osx-64
https:// repo.anaconda .com /pkgs /main /noarch
https:// repo. anaconda. com /pkgs/r /osx-64
https:// repo. anaconda.com /pkgs/r/noarch
package cache : /opt/miniconda3/pkgs
/Users/annaneustaeter/.conda/pkgs
envs directories : /opt/miniconda3/envs
/Users/annaneustaeter/.conda/envs
platform : osx-64
user-agent : conda/24.5.0 requests/2.32.2 CPython/3.12.4 Darwin/23.5.0 OSX/10.16 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8 aau/0.4.4 c/. s/. e/.
UID:GID : 502:20
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.
If you suspect this error is being caused by a malfunctioning plugin,
consider using the --no-plugins option to turn off plugins.
Example: conda --no-plugins install
Alternatively, you can set the CONDA_NO_PLUGINS environment variable on
the command line to run the command without plugins enabled.
Example: CONDA_NO_PLUGINS=true conda install