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

PNegro
New Contributor III

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

Debayan
Databricks Employee
Databricks Employee

Hi @Pablo Negro​ , Is it logged by mlflow 2.0? What's the DBR used?

PNegro
New Contributor III

Hi @Debayan Mukherjee​ !

MlFlow version is 2.0.1

DBR All purpose cluster for training and registering the model: 10.4.x-scala2.12

DBR Job Cluster for model serving: custom:custom-local__11.x-snapshot-serving-scala2.

Thanks in advance!

Best,

Experiencing the same issue, same DBR and mlflow version.

PNegro
New Contributor III

Hi Follks,

Is there any new on this?.

What should I do?

Thanks

Best

Pablo