[암호화폐 자동매매] 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와 프로세스 제어, 그리고 온실 환경제어

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

공압회로 기호

NPN, PNP 트랜지스터 차이점

[FA] 제어반 회로설계 : Power Circuits External, 필드배선 터미널

[PLC] 래더 다이어그램 시퀀스 프로그래밍 - 래더 템플릿 및 단점 사항

[PLC] 접지(지락) 사고와 단락의 차이점 (The Difference Between a Ground Fault and Short Circuit)