小编Par*_*kar的帖子

无法构建 ta-lib 错误:无法为 ta-lib 构建轮子,这是安装基于 pyproject.toml 的项目所必需的

我在 pip 安装 ta-lib 时遇到以下错误。\n我使用了命令:

\n
!pip install ta-lib\n
Run Code Online (Sandbox Code Playgroud)\n

请为我提供解决方案。

\n
    Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\nCollecting ta-lib\n  Using cached TA-Lib-0.4.25.tar.gz (271 kB)\n  Installing build dependencies ... done\n  Getting requirements to build wheel ... done\n  Installing backend dependencies ... done\n  Preparing metadata (pyproject.toml) ... done\nRequirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from ta-lib) (1.21.6)\nBuilding wheels for collected packages: ta-lib\n  error: subprocess-exited-with-error\n  \n  \xc3\x97 Building wheel for ta-lib (pyproject.toml) did not run successfully.\n  \xe2\x94\x82 exit code: 1\n  \xe2\x95\xb0\xe2\x94\x80> See above for output.\n …
Run Code Online (Sandbox Code Playgroud)

python artificial-intelligence algorithmic-trading technical-indicator

9
推荐指数
3
解决办法
7万
查看次数