MLFLOW:使用conda.yaml环境时未配置外壳程序错误

时间:2019-08-08 00:57:27

标签: conda mlflow

使用不带mlflow run选项的--no-conda命令时,出现以下错误。我尝试了错误消息中提供的建议,但是没有运气。我尝试使用conda activate激活conda环境,它可以工作。但是,当通过mlflow使用时它不起作用。有什么方法可以编辑mlflow在后台执行的命令?

CommandNotFoundError: Your shell has not been properly configured to use 'conda 
activate'.
If using 'conda activate' from a batch script, change your
invocation to 'CALL conda.bat activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>

1 个答案:

答案 0 :(得分:1)