How to install TA-LIB

Preechaik
Oct 4, 2021

วิธีติดตั้ง TA-LIB

Collecting TA-Lib
Using cached TA-Lib-0.4.21.tar.gz (270 kB)
Requirement already satisfied: numpy in c:\python38\lib\site-packages (from TA-Lib) (1.20.2)
Using legacy ‘setup.py install’ for TA-Lib, since package ‘wheel’ is not installed.
Installing collected packages: TA-Lib
Running setup.py install for TA-Lib … error
ERROR: Command errored out with exit status 1:
command: ‘c:\python38\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = …………………………….‘C:\Users\Preechai\AppData\Local\Temp\pip-record-j2p3p8dv\install-record.txt’ — single-version-externally-managed — compile — install-headers ‘c:\python38\Include\TA-Lib’ Check the logs for full command output.

ขั้นตอนการติดตั้ง

  1. ตรวจสอบ windows ใช้กี่ bit — — —> 64 bit

2.ตรวจสอบ version Python พิมพ์คำสั่ง py

Python 3.6.8

3.เข้าเว็บโหลด TA-LIB → https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib

4. รันคำสั่ง →คำแนะนำ เปิด cmd ให้ตรงกับที่จัดเก็บไฟล์ TA_LIB

pip install TA_Lib-0.4.19-cp36-cp36m-win_amd64.whl

5. ตรวจสอบ โดยพิมพ์คำสั่ง

pip list

--

--