"Solving environment failed"

Hi,
I am trying to natively install the QIIME 2 Core 2021.4 on windows but getting solving environment error while creating QIIME environment
(base) PS C:\Users\acer> wget https://data.qiime2.org/distro/core/qiime2-2021.4-py38-linux-conda.yml

conda env create -n qiime2-2021.4 --file qiime2-2021.4-py38-linux-conda.yml

StatusCode : 200
StatusDescription : OK
Content : channels:
- qiime2/label/r2021.4
- conda-forge
- bioconda
- defaults
dependencies:
- _libgcc_mutex=0.1
- _openmp_mutex=4.5
- _r-mutex=1.0.1
- argon2-cffi=20.1.0
- async_generator=1.1...
RawContent : HTTP/1.1 200 OK
Connection: keep-alive
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
...
Forms : {}
Headers : {[Connection, keep-alive], [Content-Security-Policy, default-src 'none'; style-src
'unsafe-inline'; sandbox], [Strict-Transport-Security, max-age=31536000], [X-Content-Type-Options,
nosniff]...}
Images : {}
InputFields : {}
Links : {}
ParsedHtml : mshtml.HTMLDocumentClass
RawContentLength : 9794

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • raxml=8.2.12

  • nspr=4.30

  • entrez-direct=13.9

  • perl-http-cookies=6.04

  • libgcc=7.2.0

  • libstdcxx-ng=9.3.0

  • libuuid=2.32.1

  • perl-lwp-mediatypes=6.04

  • bioconductor-delayedarray=0.16.3

  • q2-taxa=2021.4.0

  • perl-constant=1.33

  • perl-app-cpanminus=1.7044

  • perl-xml-simple=2.25

  • perl-test-requiresinternet=0.05

  • gfortran_impl_linux-64=9.3.0

  • perl-storable=3.15

  • q2galaxy=2021.4.0

  • perl-list-moreutils-xs=0.428

  • perl-file-temp=0.2304

  • perl-digest-hmac=1.03

  • libstdcxx-devel_linux-64=9.3.0

  • perl-file-path=2.16

  • perl-xml-sax-expat=0.51

  • gxx_impl_linux-64=9.3.0

  • bioconductor-genomicranges=1.42.0

  • q2-cutadapt=2021.4.0

  • perl-xml-parser=2.44_01

  • q2-vsearch=2021.4.0

  • perl-http-daemon=6.01

  • perl-data-dumper=2.173

  • perl-net-ssleay=1.88

  • perl-try-tiny=0.30

  • scikit-bio=0.5.6

  • perl-base=2.23

  • perl-compress-raw-bzip2=2.087

  • perl-io-compress=2.087

  • sortmerna=2.0

  • q2-metadata=2021.4.0

  • samtools=1.12

  • q2-sample-classifier=2021.4.0

  • gcc_linux-64=9.3.0

  • perl-socket=2.027

  • perl-http-negotiate=6.01

  • bioconductor-xvector=0.30.0

  • q2-quality-filter=2021.4.0

  • bioconductor-iranges=2.24.1

  • bioconductor-biocparallel=1.24.1

  • perl-json=4.02

  • q2-phylogeny=2021.4.0

  • q2cli=2021.4.0

  • mafft=7.475

  • tktable=2.10

  • q2-gneiss=2021.4.0

  • q2-longitudinal=2021.4.0

  • perl-common-sense=3.74

  • nss=3.64

  • q2-fragment-insertion=2021.4.0

  • libgcc-ng=9.3.0

  • libgfortran-ng=9.3.0

  • iqtree=2.1.2

  • libgcc-devel_linux-64=9.3.0

  • perl-digest-md5=2.55

  • _openmp_mutex=4.5

  • perl-encode-locale=1.05

  • perl-ntlm=1.09

  • libedit=3.1.20191231

  • perl-business-isbn=3.004

  • binutils_linux-64=2.35

  • libgomp=9.3.0

  • q2-demux=2021.4.0

  • perl-types-serialiser=1.0

  • perl-xml-namespacesupport=1.12

  • perl-xsloader=0.24

  • libev=4.33

  • bioconductor-rsamtools=2.6.0

  • perl-archive-tar=2.32

  • q2-mystery-stew=2021.4.0

  • bioconductor-dada2=1.18.0

  • libxkbcommon=1.0.3

  • perl-extutils-makemaker=7.36

  • bioconductor-s4vectors=0.28.1

  • perl-html-tagset=3.20

  • binutils_impl_linux-64=2.35.1

  • ld_impl_linux-64=2.35.1

  • bioconductor-genomicalignments=1.26.0

  • perl-list-moreutils=0.428

  • perl-pathtools=3.75

  • perl-www-robotrules=6.02

  • perl-encode=2.88

  • perl-html-parser=3.72

  • gcc_impl_linux-64=9.3.0

  • bioconductor-biostrings=2.58.0

  • bowtie2=2.4.2

  • perl-file-listing=6.04

  • q2-diversity=2021.4.0

  • cutadapt=3.4

  • perl-mozilla-ca=20180117

  • blast=2.11.0

  • dbus=1.13.6

  • hdmedians=0.14.2

  • perl-xml-sax-base=1.09

  • q2-emperor=2021.4.0

  • q2templates=2021.4.0

  • q2-feature-table=2021.4.0

  • bioconductor-shortread=1.48.0

  • q2-quality-control=2021.4.0

  • perl-compress-raw-zlib=2.087

  • perl-mime-base64=3.15

  • q2-dada2=2021.4.0

  • q2-types=2021.4.0

  • perl-http-date=6.02

  • perl-lwp-protocol-https=6.07

  • q2-deblur=2021.4.0

  • perl-scalar-list-utils=1.52

  • gfortran_linux-64=9.3.0

  • perl-exporter=5.72

  • perl-io-socket-ssl=2.066

  • q2-composition=2021.4.0

  • bioconductor-zlibbioc=1.36.0

  • htslib=1.12

  • readline=8.1

  • qiime2=2021.4.0

  • q2-alignment=2021.4.0

  • perl-html-tree=5.07

  • unifrac=0.20.2

  • dnaio=0.5.0

  • sepp=4.3.10

  • sed=4.8

  • fasttree=2.1.10

  • vsearch=2.7.0

  • perl-uri=1.76

  • perl-exporter-tiny=1.002001

  • perl-http-message=6.18

  • bioconductor-rhtslib=1.22.0

  • libnghttp2=1.43.0

  • q2-diversity-lib=2021.4.0

  • libgfortran5=9.3.0

  • ncurses=6.2

  • perl-carp=1.38

  • bioconductor-biobase=2.50.0

  • perl-time-local=1.28

  • gxx_linux-64=9.3.0

  • perl-business-isbn-data=20140910.003

  • hmmer=3.1b2

  • perl-io-zlib=1.10

  • perl-io-html=1.001

  • bwidget=1.9.14

  • perl-parent=0.236

  • q2-feature-classifier=2021.4.0

  • perl-json-xs=2.34

  • emperor=1.0.3
    I have put my conda info below:
    (base) PS C:\Users\acer> conda info

    active environment : base
    active env location : C:\Users\acer\miniconda3
    shell level : 1
    user config file : C:\Users\acer.condarc
    populated config files : C:\Users\acer.condarc
    conda version : 4.10.3
    conda-build version : not installed
    python version : 3.9.6.final.0
    virtual packages : __win=0=0
    __archspec=1=x86_64
    base environment : C:\Users\acer\miniconda3 (writable)
    conda av data dir : C:\Users\acer\miniconda3\etc\conda
    conda av metadata url : None
    channel URLs : https://conda.anaconda.org/conda-forge/win-64
    https://conda.anaconda.org/conda-forge/noarch
    https://conda.anaconda.org/bioconda/win-64
    https://conda.anaconda.org/bioconda/noarch
    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\acer\miniconda3\pkgs
    C:\Users\acer.conda\pkgs
    C:\Users\acer\AppData\Local\conda\conda\pkgs
    envs directories : C:\Users\acer\miniconda3\envs
    C:\Users\acer.conda\envs
    C:\Users\acer\AppData\Local\conda\conda\envs
    platform : win-64
    user-agent : conda/4.10.3 requests/2.25.1 CPython/3.9.6 Windows/10 Windows/10.0.19041
    administrator : False
    netrc file : None
    offline mode : False

Thanks,
Sourav

Please read the following before posting!

Is this post about a Technical Support Question? Those include error messages observed while running QIIME 2, errors observed while installing QIIME 2, or any other "software" related problem or bug. Please do not post questions here that have to do with interpretation of results, or general discussion.

Before posting, please make sure you have the following information available, in order for us to help you in a timely manner:

  • Have you searched for the problem on the forum? It is rare that we see a new question asked, so make sure you do your homework before asking for us to commit our time to helping you.
  • Have you reviewed the QIIME 2 Forum Glossary?
  • Version of QIIME 2 you are running, and how it is installed (e.g. Virtualbox, conda, etc.)
  • What is the exact command or commands you ran? Copy and paste please.
  • What is the exact error message? If you didn't run the command with the --verbose flag, please re-run and copy-and-paste the results.

Hi @Sourav_Dutta welcome to :qiime2:!

QIIME 2 can only run from within the Windows Subsystem for Linux (WSL), not Windows itself. Follow the instructions as outlined here.

Also, if you search the forum you'll find a variety of other useful tips:

-Mike

2 Likes

Hi @SoilRotifer,
Thank you for your reply. I have installed wsl as instructed. Now I am getting the same error while running the codes in anaconda powershell prompt
conda env create -n qiime2-2021.4 --file qiime2-2021.4-py38-linux-conda.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:

  • scikit-bio=0.5.6
  • perl-try-tiny=0.30
  • raxml=8.2.12
  • libxkbcommon=1.0.3
  • libstdcxx-devel_linux-64=9.3.0
  • q2templates=2021.4.0
  • dbus=1.13.6
  • fasttree=2.1.10
  • perl-html-parser=3.72
  • q2-sample-classifier=2021.4.0
  • bioconductor-dada2=1.18.0
  • bioconductor-shortread=1.48.0
  • bioconductor-rhtslib=1.22.0
  • perl-exporter-tiny=1.002001
  • perl-compress-raw-bzip2=2.087
  • q2-cutadapt=2021.4.0
  • perl-business-isbn=3.004
  • q2-diversity-lib=2021.4.0
  • perl-constant=1.33
  • tktable=2.10
  • gcc_impl_linux-64=9.3.0
  • blast=2.11.0
  • gcc_linux-64=9.3.0
  • perl-time-local=1.28
  • gxx_impl_linux-64=9.3.0
  • libgcc-devel_linux-64=9.3.0
  • perl-app-cpanminus=1.7044
  • perl-mime-base64=3.15
  • perl-xml-simple=2.25
  • bioconductor-s4vectors=0.28.1
  • perl-html-tree=5.07
  • bioconductor-rsamtools=2.6.0
  • perl-xml-sax-expat=0.51
  • q2-feature-classifier=2021.4.0
  • perl-www-robotrules=6.02
  • bioconductor-biocparallel=1.24.1
  • perl-http-daemon=6.01
  • perl-json-xs=2.34
  • perl-http-message=6.18
  • perl-storable=3.15
  • q2-longitudinal=2021.4.0
  • perl-extutils-makemaker=7.36
  • perl-http-cookies=6.04
  • mafft=7.475
  • binutils_impl_linux-64=2.35.1
  • perl-encode-locale=1.05
  • perl-list-moreutils-xs=0.428
  • q2-taxa=2021.4.0
  • libev=4.33
  • cutadapt=3.4
  • q2-types=2021.4.0
  • libgomp=9.3.0
  • q2-quality-filter=2021.4.0
  • bioconductor-biostrings=2.58.0
  • libgfortran5=9.3.0
  • q2cli=2021.4.0
  • q2-diversity=2021.4.0
  • hmmer=3.1b2
  • perl-http-negotiate=6.01
  • libgcc-ng=9.3.0
  • q2-mystery-stew=2021.4.0
  • perl-file-listing=6.04
  • emperor=1.0.3
  • perl-scalar-list-utils=1.52
  • bioconductor-iranges=2.24.1
  • bioconductor-genomicalignments=1.26.0
  • perl-archive-tar=2.32
  • libnghttp2=1.43.0
  • q2-dada2=2021.4.0
  • perl-io-socket-ssl=2.066
  • q2-alignment=2021.4.0
  • q2-emperor=2021.4.0
  • perl-io-html=1.001
  • q2galaxy=2021.4.0
  • ncurses=6.2
  • hdmedians=0.14.2
  • perl-compress-raw-zlib=2.087
  • binutils_linux-64=2.35
  • perl-test-requiresinternet=0.05
  • perl-socket=2.027
  • libstdcxx-ng=9.3.0
  • q2-feature-table=2021.4.0
  • perl-xml-sax-base=1.09
  • q2-demux=2021.4.0
  • ld_impl_linux-64=2.35.1
  • q2-composition=2021.4.0
  • _openmp_mutex=4.5
  • entrez-direct=13.9
  • gfortran_linux-64=9.3.0
  • q2-gneiss=2021.4.0
  • perl-mozilla-ca=20180117
  • q2-deblur=2021.4.0
  • q2-phylogeny=2021.4.0
  • libgfortran-ng=9.3.0
  • perl-ntlm=1.09
  • sed=4.8
  • perl-json=4.02
  • perl-pathtools=3.75
  • perl-business-isbn-data=20140910.003
  • perl-exporter=5.72
  • dnaio=0.5.0
  • perl-file-path=2.16
  • perl-encode=2.88
  • perl-xml-namespacesupport=1.12
  • bioconductor-xvector=0.30.0
  • sepp=4.3.10
  • perl-carp=1.38
  • perl-html-tagset=3.20
  • unifrac=0.20.2
  • bwidget=1.9.14
  • gfortran_impl_linux-64=9.3.0
  • nspr=4.30
  • perl-common-sense=3.74
  • vsearch=2.7.0
  • perl-lwp-mediatypes=6.04
  • libuuid=2.32.1
  • q2-quality-control=2021.4.0
  • bioconductor-delayedarray=0.16.3
  • perl-xsloader=0.24
  • bioconductor-zlibbioc=1.36.0
  • perl-digest-md5=2.55
  • perl-file-temp=0.2304
  • perl-io-zlib=1.10
  • perl-io-compress=2.087
  • perl-base=2.23
  • bioconductor-biobase=2.50.0
  • q2-vsearch=2021.4.0
  • perl-http-date=6.02
  • q2-metadata=2021.4.0
  • qiime2=2021.4.0
  • perl-uri=1.76
  • libedit=3.1.20191231
  • samtools=1.12
  • perl-net-ssleay=1.88
  • readline=8.1
  • iqtree=2.1.2
  • bioconductor-genomicranges=1.42.0
  • gxx_linux-64=9.3.0
  • nss=3.64
  • libgcc=7.2.0
  • perl-list-moreutils=0.428
  • perl-xml-parser=2.44_01
  • perl-parent=0.236
  • perl-data-dumper=2.173
  • bowtie2=2.4.2
  • perl-digest-hmac=1.03
  • sortmerna=2.0
  • q2-fragment-insertion=2021.4.0
  • perl-lwp-protocol-https=6.07
  • perl-types-serialiser=1.0
  • htslib=1.12

-Sourav

You should be running those commands from within WSL terminal. See the forum links I posted earlier. One of them shows screen shots of the WSL Ubuntu Icon, and there are other posts within those threads showing screen shots (from users) of the WSL terminal, etc... It'd help if you can provide screen shots of your command line interface.

-Mike

1 Like

Hi, I have successfully installed qiime using ubuntu terminal in wsl. Thank you so much for your help!

Sourav

1 Like

Happy to see you up and running! Happy :qiime2:-ing!

-Mike

Hi @SoilRotifer I want to see the location of my directory created. First I activated the qiime environment then I created a directory using these commands -
conda activate qiime2-2021.4
mkdir qiime2-moving-pictures-tutorial

How can I see where qiime2-moving-pictures-tutorial is located?

Thank you
Sourav

Hi @Sourav_Dutta,

If you are new to using the command line interface / unix / linux, I suggest reading:

More information can be found here.

But to see where you are currently working, you can simply type pwd.

-Good luck!

Hi @SoilRotifer,
Thanks for sharing those links. It helped a lot. To see the path, I used the command pwd. It showed the path (/home/sdubuntu/qiime2-moving-pictures-tutorial). But I didn't find any directory or file in that path in my computer. It looks like that path doesn't exist in local disk C. Where is it then?
Sourav

Remember WSL is virtualizing linux so, the file paths will be within Linux, not Windows.

If you read through the links I provided earlier, you'll see instructions on how to create a shortcut between the WSL and Windows. Then you'll be able to copy files into and out of WSL.

-Mike

Yeah finally I found that link and successfully created a shortcut between WSL and windows.
Thanks

2 Likes