gbouras13 / pharokka

fast phage annotation program
MIT License
137 stars 13 forks source link

UnsatisfiableError when installing with conda #343

Closed fluhus closed 1 month ago

fluhus commented 1 month ago

Hello! I would like to install pharokka using conda. I ran:

conda create -n pharokka -c bioconda pharokka

And got:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                      

UnsatisfiableError:

(that's it)

Any advice on how to fix this? Thanks :)

gbouras13 commented 1 month ago

Hi @fluhus ,

A very painful error - firstly, I'd certainly try using mamba not conda, it tends to produce less of these kinds of problems.

The other suggestion would be to omit -c bioconda (assuming you have channels configured) - for some reason including it causes issues sometimes I have found.

George

fluhus commented 1 month ago

Thank you, @gbouras13!

I've been trying to install mamba since yesterday. I suspect something may be wrong with my environment, since conda is complaining about inconsistencies. I'll try to solve that and update here after I manage to install mamba.

gbouras13 commented 1 month ago

Indeed - honestly, if it isn't too much trouble with existing environments, I'd do a complete Mambaforge install (in the pharokka documentation) instead of conda from scratch so that this issue (hopefully) goes away.

George

fluhus commented 1 month ago

Okay, I installed mamba separately and it worked!

mamba create -n pharokka -c bioconda pharokka

Thanks for the quick help! 😃