Branck
Branck

Reputation: 3

Installib ta-lib for python

I have read all/most of the other related posts but could not make it work.

It looks simple in theory when looking at the page here: https://pypi.org/project/ta-lib/

but after runnning "make" i am getting this:

C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\ta-lib\c\lib /LIBPATH:c:\users\franc\appdata\local\programs\python\python38\libs /LIBPATH:c:\users\franc\appdata\local\programs\python\python38 /LIBPATH:c:\users\franc\appdata\local\programs\python\python38\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.26100.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.26100.0\um\x64" ta-lib.lib /EXPORT:PyInit__ta_lib build\temp.win-amd64-cpython-38\Release\talib/_ta_lib.obj /OUT:build\lib.win-amd64-cpython-38\talib_ta_lib.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\talib_ta_lib.cp38-win_amd64.lib LINK : fatal error LNK1181: cannot open input file 'ta-lib.lib' :75: UserWarning: Cannot find ta-lib library, installation may fail. C:\Users\franc\AppData\Local\Temp\pip-build-env-o9fi1v40\overlay\Lib\site-packages\setuptools\config_apply_pyprojecttoml.py:78: SetuptoolsWarning: install_requires overwritten in pyproject.toml (dependencies) corresp(dist, value, root_dir) error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\link.exe' failed with exit code 1181
[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 Failed to build TA-Lib ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TA-Lib)

I am using UV (UD add ta-lib) but tried pip as well. I tried to install before running make which in my understanding would have tried to use the 32bits version. To be honest, I am not clear if once I run make it should try to install the 64 bits. I am also unsure which version I need or how to check.

For more context, I am trying to go through this book https://www.oreilly.com/library/view/machine-learning-for/9781839217715/ and trying to install the requirement as as I need them. I have spent way more time to fight the install than learning ML so far...

Thanks a lot in adavance,

Upvotes: 0

Views: 139

Answers (0)

Related Questions