cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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

4 REPLIES 4

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group