franciscozorrilla / metaGEM

:gem: An easy-to-use workflow for generating context specific genome-scale metabolic models and predicting metabolic interactions within microbial communities directly from metagenomic data
https://franciscozorrilla.github.io/metaGEM/
MIT License
203 stars 42 forks source link

Installation error #122

Closed fconstancias closed 1 year ago

fconstancias commented 1 year ago

Dear @franciscozorrilla ,

Thanks for developping those tools and alos the efforts you are putting in educating !

I am trying to install metaGEM on a apple M1 computer and I got the following error:

mamba create -n metagem -c bioconda metagem

Encountered problems while solving:

  • nothing provides concoct >=1.1.0 needed by metagem-1.0.5-hdfd78af_0

any idea what is wrong here?

Thanks!

franciscozorrilla commented 1 year ago

Hello! thanks for the kind words and sorry to hear you are having issues. I believe that configuring your conda channels should fix this issue, could you try running this command before re-running the mamba install command?

conda config --add channels conda-forge
fconstancias commented 1 year ago

Unfortunately, it did not help.

conda activate base

conda config --add channels conda-forge

mamba create -n metagem -c bioconda metagem

Looking for: ['metagem']

bioconda/osx-64 Using cache bioconda/noarch Using cache conda-forge/osx-64 Using cache conda-forge/noarch Using cache pkgs/r/noarch [====================] (00m:00s) No change pkgs/main/noarch [====================] (00m:00s) No change pkgs/r/osx-64 [====================] (00m:00s) No change pkgs/main/osx-64 [====================] (00m:00s) No change Encountered problems while solving:

  • nothing provides concoct >=1.1.0 needed by metagem-1.0.5-hdfd78af_0

conda info

 active environment : base
active env location : /Users/fconstan/Downloads/yes
        shell level : 2
   user config file : /Users/fconstan/.condarc

populated config files : /Users/fconstan/Downloads/yes/.condarc /Users/fconstan/.condarc conda version : 4.12.0 conda-build version : not installed python version : 3.9.10.final.0 virtual packages : osx=12.3.1=0 unix=0=0 __archspec=1=x86_64 base environment : /Users/fconstan/Downloads/yes (writable) conda av data dir : /Users/fconstan/Downloads/yes/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/osx-64 https://conda.anaconda.org/conda-forge/noarch https://conda.anaconda.org/bioconda/osx-64 https://conda.anaconda.org/bioconda/noarch 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 : /Users/fconstan/Downloads/yes/pkgs /Users/fconstan/.conda/pkgs envs directories : /Users/fconstan/Downloads/yes/envs /Users/fconstan/.conda/envs platform : osx-64 user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.10 Darwin/21.4.0 OSX/12.3.1 UID:GID : 503:20 netrc file : None offline mode : False

franciscozorrilla commented 1 year ago

Thanks for trying that. Unfortunately, it is possible that the conda installation will not work on Apple machines, as I have only tested it on linux-based HPCs. I can test/troubleshoot the installation on mac once I am back at work next week :) For now (and in general) I recommend you set up metaGEM on your HPC.

fconstancias commented 1 year ago

Good point, thanks!

franciscozorrilla commented 1 year ago

Of course it is nice to be able to install locally as well. You may have some better luck installing on osx using the alternative conda recipe file installation as described here in https://github.com/franciscozorrilla/metaGEM/blob/master/config/README.md