conda-env: error: unrecognized arguments: 'virtualenv': 'python_env.yaml'

PNegro
Databricks Partner

I have registered an experiment as model in the model registry and when I start serving the model I get the following error:

usage: conda-env [-h] {create,export,list,remove,update,config} ...

conda-env: error: unrecognized arguments: 'virtualenv': 'python_env.yaml'}

Could not find conda environment: model-9

You can list all discoverable environments with `conda info --envs`.

The MLmodel file contains this entrance in it, but I can´t figure out how to solve this issue. A couple of days ago this model serving was working but today I've started seeing this problem.

What should I do?

Thanks in advance!

Best