Basic needed setup Python 3.10 (if you have Pyenv installed, this project comes bundled with a .python-version file) Poetry (tested with version 1.4.0) Conda (tested with version 23.1.0) To reproduce the blog post workflow Install dependencies: poetry install Register the model: poetry run python workflow_examples/register_model.py Test inference with running environment and see the error: poetry run python blog_post_mlflow_spark_udf/batch_predict.py "local" Test inference with isolated conda environment and see the result: poetry run python blog_post_mlflow_spark_udf/batch_predict.py "conda"