问题描述
我正在使用此git软件包https://github.com/VolaTrade/Technical-Indicators来更快地计算项目中的移动平均值。在Anaconda 3.6 linux版本中,我正在按照软件包说明从源代码构建它,并且一切都能快速进行。
当我尝试创建docker容器时,使用相同的步骤构建了容器,但是运行速度降低了。我怀疑与构建有关,但不知道为什么。 我可以从dockerfile中共享的是:
我正在使用“ FROMcontinuumio / miniconda3”作为构建器
来自: https://scikit-learn.org/stable/developers/advanced_installation.html
我使用
apt-get install build-essential python3-dev python3-pip
我将其添加到其中:
RUN git clone https://github.com/VolaTrade/Technical-Indicators.git && \
cd Technical-Indicators && \
pip install -r requirements.txt && \
python3 setup.py build_ext --inplace && \
python3 setup.py install
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)