如何为tox安装xgboost?

时间:2018-01-12 10:14:25

标签: python xgboost tox

需要编译XGBoost。对于Docker,我这样安装:

RUN git clone --recursive https://github.com/dmlc/xgboost.git
WORKDIR xgboost
RUN ./build.sh && pip3 install -e python-package

如何确保它适用于tox

1 个答案:

答案 0 :(得分:1)

选项sitepackages=True使_context.UpdateRange(tbMapViewModel.TBMapBalances); await _context.SaveChangesAsync(); 创建可访问全局安装包的虚拟环境。它是虚拟环境部分或全局tox部分的选项。也可以使用[testenv]命令行选项进行设置。例如:

--sitepackages