@@ -50,13 +50,15 @@ Alphalens is a Python library for performance analysis of predictive (alpha) sto
5050git clone https://github.com/cloudQuant/alphalens.git # International users
5151git clone https://gitee.com/yunjinqi/alphalens.git # China users
5252
53- # Install dependencies (empyrical will be installed from git)
53+ # Install dependencies (numpy and pandas first, then empyrical from git)
5454pip install -r requirements.txt # International users
5555# pip install -r requirements-cn.txt # China users (uses Gitee mirror)
5656
57- # Or install empyrical manually first:
57+ # Or install manually in order:
58+ pip install numpy pandas # Install core dependencies first
5859pip install -U git+https://github.com/cloudQuant/empyrical.git # International users
5960# pip install -U git+https://gitee.com/yunjinqi/empyrical.git # China users
61+ pip install scipy matplotlib seaborn statsmodels ipython pytest parameterized
6062
6163# Install alphalens in development mode
6264pip install -e .
@@ -236,13 +238,15 @@ Alphalens 是一个用于预测性(alpha)股票因子性能分析的 Python
236238git clone https://github.com/cloudQuant/alphalens.git # 国外用户
237239git clone https://gitee.com/yunjinqi/alphalens.git # 国内用户
238240
239- # 安装依赖(empyrical将从git安装 )
241+ # 安装依赖(先安装numpy和pandas,然后从git安装empyrical )
240242pip install -r requirements-cn.txt # 国内用户(使用Gitee镜像)
241243# pip install -r requirements.txt # 国外用户
242244
243- # 或者先手动安装empyrical:
245+ # 或者按顺序手动安装:
246+ pip install numpy pandas # 先安装核心依赖
244247pip install -U git+https://gitee.com/yunjinqi/empyrical.git # 国内用户
245248# pip install -U git+https://github.com/cloudQuant/empyrical.git # 国外用户
249+ pip install scipy matplotlib seaborn statsmodels ipython pytest parameterized
246250
247251# 以开发模式安装 alphalens
248252pip install -e .
0 commit comments