VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 1
声望: 0

Stored in directory: c:\users\administrator\appdata\local\pip\cache\wheels\1d\f2\a7\645b3d3228cabfaa257702da5f6131fb7e8d8e2b4ecb6c6a95
Building wheel for ta-lib (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for ta-lib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
<string>:77: UserWarning: Cannot find ta-lib library, installation may fail.
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\talib
copying talib\abstract.py -> build\lib.win-amd64-cpython-310\talib
copying talib\deprecated.py -> build\lib.win-amd64-cpython-310\talib
copying talib\stream.py -> build\lib.win-amd64-cpython-310\talib
copying talib\test_abstract.py -> build\lib.win-amd64-cpython-310\talib
copying talib\test_data.py -> build\lib.win-amd64-cpython-310\talib
copying talib\test_func.py -> build\lib.win-amd64-cpython-310\talib
copying talib\test_pandas.py -> build\lib.win-amd64-cpython-310\talib
copying talib\test_polars.py -> build\lib.win-amd64-cpython-310\talib
copying talib\test_stream.py -> build\lib.win-amd64-cpython-310\talib
copying talib__init__.py -> build\lib.win-amd64-cpython-310\talib
running build_ext
building 'talib._ta_lib' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ta-lib
Successfully built vnpy
Failed to build ta-lib
ERROR: Could not build wheels for ta-lib, which is required to install pyproject.toml-based projects

Member
avatar
加入于:
帖子: 2
声望: 0

https://download.lfd.uci.edu/pythonlibs/archived/TA_Lib-0.4.24-cp310-cp310-win_amd64.whl

下载后cmd:pip install 文件路径
文件路径可以直接把文件拖进cmd窗口自动填写

Member
avatar
加入于:
帖子: 124
声望: 4

你试试在anaconda下载安装一个ta-lib

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】