[암호화폐 자동매매] pip install ta-lib 설치오류 해결

ta-lib 설치 실패시 참조 사항


https://pypi.org/project/ta-lib/

https://visualstudio.microsoft.com/ko/downloads/?q=build+tools


[조치 순서]

Windows

Download ta-lib-0.4.0-msvc.zip and unzip to C:\ta-lib.


This is a 32-bit binary release. If you want to use 64-bit Python, you will need to build a 64-bit version of the library. Some unofficial instructions for building on 64-bit Windows 10 or Windows 11, here for reference:


Download and Unzip ta-lib-0.4.0-msvc.zip

Move the Unzipped Folder ta-lib to C:\

Download and Install Visual Studio Community (2015 or later)

Remember to Select [Visual C++] Feature

Build TA-Lib Library

From Windows Start Menu, Start [VS2015 x64 Native Tools Command Prompt]

Move to C:\ta-lib\c\make\cdr\win32\msvc

Build the Library 

> nmake


위 과정을 수행하고 "pip install ta-lib" 수행하면 설치가 됩니다. 핵심은 C++ Build Tools를 설치하고 ta-lib가 의존하는 파일을 컴파일하는 것입니다.

댓글

이 블로그의 인기 게시물

공압 속도 제어: 미터인 vs 미터아웃

[PLC] PLC 아날로그 입출력 기본

전력(kW) 계산하기 (직류, 교류 단상, 교류 삼상)

[아두이노] 가변저항(Potential Divider)과 전압분배(Voltage Divider)

제너 다이오드에 저항을 연결하는 이유

[수학] 수학의 눈으로 본 수치해석 (추천도서)

[PLC] 래더 다이어그램과 PLC

[스마트팜] DIY 소형 에어컨 만들기 아이디어

NPN, PNP 트랜지스터 차이점

[주식] 한국거래소(KRX) 데이터 API 입문 가이드