Skip to content

Could not create conda environment #7

Description

@PeterWang0502

Hi, thanks for creating this tool. I've been having trouble running the program after installing it. Each time I tried to run it, snakemake returned with errors indicating that the conda environment could not be property created.
The error log looked like this:
Building DAG of jobs...
Creating conda environment envs/bwa_map_KOunt.yaml...
Downloading and installing remote packages.
CreateCondaEnvironmentException:
Could not create conda environment from /project/xxxxxxxxx/tools/KOunt/envs/bwa_map_KOunt.yaml:
Command:
mamba env create --quiet --file "~/.snakemake/conda/093e49f05ee424113385ef74c7e4b7d1_.yaml" --prefix "~/.snakemake/conda/093e49f05ee424113385ef74c7e4b7d1_"
Output:
error libmamba Non-conda folder exists at prefix - aborting.
critical libmamba Non-conda folder exists at prefix - aborting.
I tried to create the conda environment directly and it worked, so it's unlikely issues from yaml files. I also attached my code for running snakemake below:
snakemake -j 5 -k --ri --use-conda --conda-prefix ~/.snakemake/conda --cluster-config cluster.json --cluster "bsub -q normal -n {cluster.core} -M {cluster.vmem} -W {cluster.time}"
Any help is appreciated. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions