hildebra / lotus2

Amplicon sequencing pipelines suitable for SSU (16S, 18S), LSU (23S, 28S) and ITS.
http://lotus2.earlham.ac.uk/
GNU General Public License v3.0
52 stars 17 forks source link

Fail to install with conda #24

Closed luhugerth closed 1 year ago

luhugerth commented 1 year ago

I created a fresh conda env for lotus2, but attempting installation yield the error

~# conda install -c bioconda lotus2                                                      
Collecting package metadata (current_repodata.json): done                                                               
Solving environment: failed with initial frozen solve. Retrying with flexible solve.                                    
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.             
Collecting package metadata (repodata.json): done                                                                       
Solving environment: failed with initial frozen solve. Retrying with flexible solve.                                    
Solving environment: |                                                                                                 
Found conflicts! Looking for incompatible packages.                                                                    
This can take several minutes.  Press CTRL-C to abort.                                                                failed                                                                                                                                                                                                           UnsatisfiableError:    

Installing through git and perl works ok, though

nsoranzo commented 1 year ago

@luhugerth You need to specify also the conda-forge channel and --strict-channel-priority is also recommended, see https://bioconda.github.io/ . I'd also advise to install lotus2 in a separate conda environment. So this should work: conda create -c conda-forge -c bioconda --strict-channel-priority -n lotus2 lotus2

nsoranzo commented 1 year ago

And for a faster experience, you can try to use the mamba solver, see https://github.com/conda-incubator/conda-libmamba-solver