需要编译XGBoost。对于Docker,我这样安装:
RUN git clone --recursive https://github.com/dmlc/xgboost.git
WORKDIR xgboost
RUN ./build.sh && pip3 install -e python-package
如何确保它适用于tox
?
答案 0 :(得分:1)
选项sitepackages=True
使_context.UpdateRange(tbMapViewModel.TBMapBalances);
await _context.SaveChangesAsync();
创建可访问全局安装包的虚拟环境。它是虚拟环境部分或全局tox
部分的选项。也可以使用[testenv]
命令行选项进行设置。例如:
--sitepackages