change qlib install method (#937)

This commit is contained in:
XianBW
2025-06-05 11:40:46 +08:00
committed by GitHub
parent 2b7e0c4bd0
commit 1a61d51fa8
+1 -5
View File
@@ -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(