No need for unnecessary $(conda run ...) to get python interpreter

This commit is contained in:
Ashwin Bharambe 2024-08-14 20:48:35 -07:00
parent 00f0e6d92b
commit 0d933ac4c5

View file

@ -108,5 +108,5 @@ ensure_conda_env_python310 "$env_name" "$pip_dependencies"
echo -e "${GREEN}Successfully setup distribution environment. Configuring...${NC}"
python_interp=$(conda run -n "$env_name" which python)
$python_interp -m llama_toolchain.cli.llama distribution configure --name "$distribution_name"
which python3
python3 -m llama_toolchain.cli.llama distribution configure --name "$distribution_name"