Closed furballcoder closed 6 months ago
OMG, somehow when I updated the C bindings, I lost the windows #include.
Fixed in fce1e555e76471376feefd87db9a07069ff978a8 and made a 0.4.30 release to hopefully fix that asap.
Can you try?
It's late but I should find out why the windows github builder didn't catch this
Tried, success this time! This is super fast fix, thanks.
(sdtrade4) PS C:\Users\ljfong\Repos\simfin-screener> pip install ta-lib
Collecting ta-lib
Downloading TA-Lib-0.4.30.tar.gz (368 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 368.3/368.3 kB 1.1 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in c:\py_envs\sdtrade4\lib\site-packages (from ta-lib) (1.26.4)
Building wheels for collected packages: ta-lib
Building wheel for ta-lib (pyproject.toml) ... done
Created wheel for ta-lib: filename=TA_Lib-0.4.30-cp311-cp311-win_amd64.whl size=559086 sha256=d55444ef96e05817150e17566b8b9b5081ae34604723e4989aeb20193731222f
Stored in directory: c:\users\ljfong\appdata\local\pip\cache\wheels\26\54\61\5f594a7d12dbb4a2e4f33e00e9a1951f46d42ae03d37e33d6a
Successfully built ta-lib
Installing collected packages: ta-lib
Successfully installed ta-lib-0.4.30
I have been trying to install
TA-Lib
throughpip install ta-lib
from an environment created through Pythonvenv
for a while and the installation keeps failing with the following:I have been following the steps outlined in https://github.com/TA-Lib/ta-lib-python?tab=readme-ov-file#windows
ta-lib-0.4.0-msvc.zip
.C:\ta-lib
with content of the zip file downloaded.C:\ta-lib\c\make\cdr\win32\msvc
nmake
successfully throughx64 Native Tools Command Prompt for VS 2022
. I did not notice any error here.pip install ta-lib
was unsuccessful due to not being able to open include file:ta-lib/ta_defs.h
.My system:
Feels like I am missing something very basic here?