Installation problems (win10, miniconda)

Hi, I have a problem when creating the QIIME2 environment with miniconda:

(base) C:\windows\system32>conda env create -n qiime2-2021.2 --file qiime2-2021.2-py36-linux-conda.yml

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

  • Traceback (most recent call last):*
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda\exceptions.py", line 1079, in __call__*
    
  •    return func(*args, **kwargs)*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\cli\main.py", line 80, in do_call*
    
  •    exit_code = getattr(module, func_name)(args, parser)*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\cli\main_create.py", line 87, in execute*
    
  •    spec = specs.detect(name=name, filename=filename, directory=os.getcwd())*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\specs\__init__.py", line 43, in detect*
    
  •    if spec.can_handle():*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\specs\yaml_file.py", line 18, in can_handle*
    
  •    self._environment = env.from_file(self.filename)*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\env.py", line 160, in from_file*
    
  •    return from_yaml(yamlstr, filename=filename)*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\env.py", line 142, in from_yaml*
    
  •    data = validate_keys(data, kwargs)*
    
  •  File "C:\Users\gaichinger\Miniconda3\lib\site-packages\conda_env\env.py", line 38, in validate_keys*
    
  •    for key in data.keys():*
    
  • AttributeError: ‘NoneType’ object has no attribute ‘keys’*

$ C:\Users\gaichinger\Miniconda3\Scripts\conda-env-script.py create -n qiime2-2021.2 --file qiime2-2021.2-py36-linux-conda.yml

  • environment variables:*

  •             CIO_TEST=<not set>*
    
  • CONDA_AUTO_UPDATE_CONDA=false*

  •    CONDA_DEFAULT_ENV=base*
    
  •            CONDA_EXE=C:\Users\gaichinger\Miniconda3\condabin\..\Scripts\conda.exe*
    
  •           CONDA_EXES="C:\Users\gaichinger\Miniconda3\condabin\..\Scripts\conda.exe"*
    
  •         CONDA_PREFIX=C:\Users\gaichinger\Miniconda3*
    
  • CONDA_PROMPT_MODIFIER=(base)*

  •     CONDA_PYTHON_EXE=C:\Users\gaichinger\Miniconda3\python.exe*
    
  •           CONDA_ROOT=C:\Users\gaichinger\Miniconda3*
    
  •          CONDA_SHLVL=1*
    
  •       CURL_CA_BUNDLE=<not set>*
    
  •                 PATH=C:\Users\gaichinger\Miniconda3;C:\Users\gaichinger\Miniconda3\Library\*
    
  •                      mingw-w64\bin;C:\Users\gaichinger\Miniconda3\Library\usr\bin;C:\Users\*
    
  •                      gaichinger\Miniconda3\Library\bin;C:\Users\gaichinger\Miniconda3\Scrip*
    
  •                      ts;C:\Users\gaichinger\Miniconda3\bin;C:\Users\gaichinger\Miniconda3;C*
    
  •                      :\Users\gaichinger\Miniconda3\Library\mingw-w64\bin;C:\Users\gaichinge*
    
  •                      r\Miniconda3\Library\usr\bin;C:\Users\gaichinger\Miniconda3\Library\bi*
    
  •                      n;C:\Users\gaichinger\Miniconda3\Scripts;C:\Users\gaichinger\Miniconda*
    
  •                      3\bin;C:\Users\gaichinger\Miniconda3\condabin;C:\Program Files*
    
  •                      (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\windows\*
    
  •                      system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\Windo*
    
  •                      wsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files*
    
  •                      (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program*
    
  •                      Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files*
    
  •                      (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program*
    
  •                      Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\Adminis*
    
  •                      trator\AppData\Local\Microsoft\WindowsApps*
    
  •         PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\Windows*
    
  •                      PowerShell\v1.0\Modules*
    
  •   REQUESTS_CA_BUNDLE=<not set>*
    
  •        SSL_CERT_FILE=<not set>*
    
  • active environment : base*
    
  • active env location : C:\Users\gaichinger\Miniconda3*

  •        shell level : 1*
    
  •   user config file : C:\Users\Administrator\.condarc*
    
  • populated config files :*

  •      conda version : 4.9.2*
    
  • conda-build version : not installed*

  •     python version : 3.8.5.final.0*
    
  •   virtual packages : __win=0=0*
    
  •                      __archspec=1=x86_64*
    
  •   base environment : C:\Users\gaichinger\Miniconda3  (writable)*
    
  •       channel URLs : https://repo.anaconda.com/pkgs/main/win-64*
    
  •                      https://repo.anaconda.com/pkgs/main/noarch*
    
  •                      https://repo.anaconda.com/pkgs/r/win-64*
    
  •                      https://repo.anaconda.com/pkgs/r/noarch*
    
  •                      https://repo.anaconda.com/pkgs/msys2/win-64*
    
  •                      https://repo.anaconda.com/pkgs/msys2/noarch*
    
  •      package cache : C:\Users\gaichinger\Miniconda3\pkgs*
    
  •                      C:\Users\Administrator\.conda\pkgs*
    
  •                      C:\Users\Administrator\AppData\Local\conda\conda\pkgs*
    
  •   envs directories : C:\Users\gaichinger\Miniconda3\envs*
    
  •                      C:\Users\Administrator\.conda\envs*
    
  •                      C:\Users\Administrator\AppData\Local\conda\conda\envs*
    
  •           platform : win-64*
    
  •         user-agent : conda/4.9.2 requests/2.25.1 CPython/3.8.5 Windows/10 Windows/10.0.19041*
    
  •      administrator : True*
    
  •         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]:

Can someone spot the problem? I am terribly unexperienced with this. :wink:

Hi @GeorgA, welcome to :qiime2:

The error is due to the fact that you are trying install QIIME 2 through your Windows 10 Command Prompt, and not the Windows Subsystem for Linux (WSL). Check out the install instructions for WSL. If you search the forum, you’ll find that these threads quite helpful:

-Mike

3 Likes

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