prokka icon indicating copy to clipboard operation
prokka copied to clipboard

error recreating conda environments that contain prokka from yaml files

Open JPegorino opened this issue 8 months ago • 0 comments

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!

JPegorino avatar Oct 24 '23 12:10 JPegorino