from pathlib import Path | |
from mlflow.utils.environment import _PythonEnv | |
from mlflow.utils.virtualenv import ( | |
_PYENV_ROOT_DIR, | |
_VIRTUALENV_ENVS_DIR, | |
_create_virtualenv, | |
_get_mlflow_virtualenv_root, | |
_get_virtualenv_extra_env_vars, | |
_get_virtualenv_name, | |
_install_python, | |
) | |
_create_virtualenv( | |
"/Users/inoki/giskard-home/projects/credit/models/2a2b6a9c-4050-4bb6-9024-00bf15651262", | |
Path("/opt/homebrew/bin/python3.10"), | |
Path("/Users/inoki/giskard-home/mlflow-venv1"), | |
_PythonEnv() | |
) | |