dereneaton / ipyrad

Interactive assembly and analysis of RAD-seq data sets
http://ipyrad.readthedocs.io
GNU General Public License v3.0
72 stars 41 forks source link

Installation: Intel Mac conda resolving dependencies takes a very very long time #500

Closed isaacovercast closed 1 year ago

isaacovercast commented 1 year ago

The conda resolver is very very very slow on intel macs these days for some reason that I can't figure out. The easiest thing to do is work around it by using the mamba package, which has a reimplemented solver that actually works:

conda install mamba -n base -c conda-forge
mamba create -n ipyrad39 python=3.9
conda activate ipyrad39
mamba install -c conda-forge -c bioconda ipyrad -y
ipyrad -h       # <- works

This is not a great solution, because optimally conda ipyrad install would work natively, but this is a reasonable workaround.

benyoung93 commented 1 year ago

I have been having this problem with a number of packages and conda. One switch around form your suggested is I would recommend installing mamba within the conda environments. Having it not within some environments caused even wackier errors to be thrown (not for ipyrad mind you).

Just a suggestion :).

isaacovercast commented 1 year ago

The conda-libmamba-solver is now packaged by default with conda, so it's much easier to switch the default solver on conda install you just pass the additional flag: --solver=libmamba