Observations: Failed to run this experiment, because timeout: failed to run command ‘qrun’: No such file or directory
🐛 Bug Description
While running rdagent fin_factor_report --report-folder=git_ignore_folder/reports In Feedback, it always shown
Observations: Failed to run this experiment, because timeout: failed to run command ‘qrun’: No such file or directory
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Screenshot
Environment
Note: Users can run rdagent collect_info to get system information and paste it directly here.
- Name of current operating system:
- Processor architecture:
- System, version, and hardware information:
- Version number of the system:
- Python version:
- Container ID:
- Container Name:
- Container Status:
- Image ID used by the container:
- Image tag used by the container:
- Container port mapping:
- Container Label:
- Startup Commands:
- RD-Agent version:
- Package version:
Additional Notes
I also encountered the same problem
Hi, @mcwongaagpt and @Sesame2
Thank you for your attention to RD-Agent, The problem you mentioned, you can try to solve it as follows.
# Step1. Remove the conda environment named rdagent4qlib:
conda remove -n rdagent4qlib --all -y
# Step2: Create a new environment named rdagent4qlib.
conda create -n rdagent4qlib python=3.10 -y
# Step3: Upgrade pip and install cython
conda run -n rdagent4qlib pip install --upgrade pip cython
# Step4: Install qlib
conda run -n rdagent4qlib pip install git+https://github.com/microsoft/qlib.git@3e72593b8c985f01979bebcf646658002ac43b00
# Step5: Install related dependencies
conda run -n rdagent4qlib pip install catboost xgboost scipy==1.11.4 tables torch
# Step6: Check if qrun exists.
which qrun
Reference code: https://github.com/microsoft/RD-Agent/blob/main/rdagent/utils/env.py#L663-L694
I faced the same problem. If you do have qrun in your environment, it might because your conda environment is not named as "rdagent4qlib", referring to rdagent/utils/env.py, line 664.