**已关闭。**此问题需要debugging details。目前不接受回答。
编辑问题以包括desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem。这将帮助其他人回答问题。
6天前关闭
Improve this question的
当在继承自python:3.10.13-slim-bookworm的Dockerfile中安装TA-Lib时,我使用这些Dockerfiles作为示例,但仍然出现错误:
https://dev.to/lazypro/build-a-small-ta-lib-container-image-4ca1的
https://github.com/deepnox-io/docker-python-ta-lib/blob/main/v0.4.17/python/3.8.1/alpine/3.11/Dockerfile的
我看到的错误示例:
Problem with the CMake installation, aborting build. CMake executable is cmake
CMake was unable to find a build program corresponding to "Ninja".
Unit test failures:
Could not build wheels for patchelf, which is required to install pyproject.toml-based projects
FAIL: set-interpreter-long.sh
FAIL: set-rpath.sh
FAIL: add-rpath.sh
字符串
如何将TA-Lib安装到Dockerfile中?
1条答案
按热度按时间2cmtqfgy1#
我没有尝试安装anaconda并使用conda安装TA-Lib,但这可能会更容易,正如这里提到的:https://blog.quantinsti.com/install-ta-lib-python/
相反,这里是我完整的Dockerfile。特别是我认为是各种pip和apt-get安装让我的TA-Lib make/install成功:
字符串