From 1a61d51fa85cffc263be7b38fdabf94d90868427 Mon Sep 17 00:00:00 2001 From: XianBW <36835909+XianBW@users.noreply.github.com> Date: Thu, 5 Jun 2025 11:40:46 +0800 Subject: [PATCH] change qlib install method (#937) --- rdagent/utils/env.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rdagent/utils/env.py b/rdagent/utils/env.py index 6e6e8dba..d3623908 100644 --- a/rdagent/utils/env.py +++ b/rdagent/utils/env.py @@ -537,11 +537,7 @@ class QlibCondaEnv(LocalEnv[QlibCondaConf]): shell=True, ) subprocess.check_call( - f"conda run -n {self.conf.conda_env_name} rm -rf qlib; git clone https://github.com/microsoft/qlib.git", - shell=True, - ) - subprocess.check_call( - f"conda run -n {self.conf.conda_env_name} bash -c 'cd qlib && git reset --hard 3e72593b8c985f01979bebcf646658002ac43b00 && make dev .'", + f"conda run -n {self.conf.conda_env_name} pip install git+https://github.com/microsoft/qlib.git@3e72593b8c985f01979bebcf646658002ac43b00", shell=True, ) subprocess.check_call(