AnantharamanLab / METABOLIC

A scalable high-throughput metabolic and biogeochemical functional trait profiler
178 stars 45 forks source link

Perl version conflict when installing via YAML #180

Open gcremers opened 9 months ago

gcremers commented 9 months ago

Hi,

I'm running trying to install an environment with mamba using the yaml file with mamba via:

mamba env create -f METABOLIC_v4.0_env.yaml -n METABOLIC4

After a recap of the requested packages, this results ultimately in the following error:

Could not solve for environment specs The following packages are incompatible ├─ perl-bioperl ==1.6.924 6 is installable and it requires │ └─ perl >=5.22.0,<5.23.0 , which can be installed; └─ perl ==5.26.2 h36c2ea0_1008 is not installable because it conflicts with any installable versions previously reported.

Since I can only work with Anaconda when it functions how it is supposed to do, I have no idea how to resolve this. I'm not even sure where the problem exactly lies. From what I understand from this, Bioperl wants Perl 5.22, but the Yaml file wants to install 5.26.

Changing Bioperl 1.6 to 1.7 in the Yaml file opens up a bunch of new issues, including a python version conflict. Changing Perl 5.26 to 5.22 in the yaml file causes also different conflicts. So that didn't really seem to help me much.

Any ideas how I can resolve this?

Thanks in advance!