简体   繁体   English

创建 Conda 环境失败状态:143

[英]Failed to create Conda environment status : 143

I am trying to run a nexflow pipeline on some data via the Linux command line, but when I do so, it fails because it fails to create the Conda environment.我正在尝试通过 Linux 命令行对某些数据运行 nexflow 管道,但是当我这样做时,它会失败,因为它无法创建 Conda 环境。

It looks like it tries to run the pipeline anyway, despite the environment not being set up properly, and so generates an error message.尽管环境设置不正确,但它看起来还是试图运行管道,因此会生成一条错误消息。 Any help would be much appreciated.任何帮助将非常感激。 Here is the error message:这是错误消息:

Error executing process > 'my_process (1)'
Caused by:
  Failed to create Conda environment
  command: conda env create --prefix /my_file_path-6bf38a923b48a255f96ea3d66d372e6c --file /my_file_path/environment.yml
  status : 143
  message:

Here is my environment.yml file:这是我的 environment.yml 文件:

name: pipeline_name
channels:
  - bioconda
  - conda-forge
  - defaults
dependencies:
  - filtlong
  - blast==2.5
  - minimap2 
  - samtools 
  - pysam 
  - pandas 
  - matplotlib 
  - pysamstats
  - seaborn 
  - medaka
  - bedtools
  - bedops
  - seqtk
  - bioawk
  - sniffles

Not an answer to this question, but if you get a similar failure with a different exit status (120, not 143), try the fix in this thread.不是这个问题的答案,但如果您遇到类似的失败并具有不同的退出状态(120,而不是 143),请尝试此线程中的修复。 Reposting it here:在这里转发:

conda environment from file not working using nextflow · Issue #1081 · nextflow-io/nextflow: https://github.com/nextflow-io/nextflow/issues/1081文件中的 conda 环境无法使用 nextflow · 问题 #1081 · nextflow-io/nextflow: https://github.com/nextflow-io/nextflow/issues/1081

pditommaso commented on Mar 18, 2019 pditommaso 于 2019 年 3 月 18 日发表评论
The 120 exit status signals that it was reached the creation timeout. 120 退出状态表示已达到创建超时。 Try increasing it, eg.尝试增加它,例如。

conda.createTimeout = '1 h'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM