Skip to content

Commit

Permalink
Use conda-forge channel (#5037)
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
  • Loading branch information
harupy committed Nov 10, 2021
1 parent 1fa5433 commit 79d86d3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mlflow/utils/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,16 @@ def get_or_create_conda_env(conda_env_path, env_id=None):
)
else:
process.exec_cmd(
[conda_env_create_path, "create", "-n", project_env_name, "python"],
[
conda_env_create_path,
"create",
"--channel",
"conda-forge",
"--override-channels",
"-n",
project_env_name,
"python",
],
stream_output=True,
)
return project_env_name

0 comments on commit 79d86d3

Please sign in to comment.