Vor der Installation
- 安装Python 3.7或3.8版本
- 建议使用Anaconda管理环境
Detaillierte Installationsschritte
- 创建conda环境:
conda create -n qlib_env python=3.8
- 激活环境:
conda activate qlib_env
- Installation der grundlegenden Abhängigkeiten.
pip install numpy
- 从GitHub安装Qlib:
git clone https://github.com/microsoft/qlib.git
caveat
开发功能需要额外安装开发依赖,可以使用pip install -e .[dev]
Befehl.
Diese Antwort stammt aus dem ArtikelQlib: ein von Microsoft entwickeltes KI-Tool für quantitative InvestitionsforschungDie