tseemann / prokka

:zap: :aquarius: Rapid prokaryotic genome annotation
847 stars 226 forks source link

error recreating conda environments that contain prokka from yaml files #677

Open JPegorino opened 1 year ago

JPegorino commented 1 year ago

I'm getting the error below when I try to recreate conda (mamba) environments from yaml files if they contain prokka (example attached [saved as TXT]). I've tested for different envs with prokka v1.1.3 and v1.1.4.0 and v1.1.4.6. I haven't had this error with other software environments containing perl dependencides (e.g. environments with snippy).

Could not solve for environment specs
Encountered problems while solving:
  - [package](url) perl-xml-parser-2.44-4 requires perl >=5.22.0,<5.23.0, but none of the providers can be installed
The environment can't be solved, aborting the operation

prokka.txt

I created all the yamls I tested in a for loop of my conda envs directory with the line conda env export -p "${i}" > $(basename "${i}" | sed 's/\///g').yml for each env. re-installation from the yamls was done with with mamba env create -n prokka --file prokka.yml in a sun grid engine compute cluster,

I'm not sure if this is truly a prokka issue but either way, I hope that raising it here will help myself and others who experience this error to either to rule it out or find a solution.

Many thanks in advance for help and suggestions!