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
Esteemed Contributor III
Esteemed Contributor III

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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!