Implementation:TA Lib Ta lib python Pip Install TA Lib
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Installation, Packaging |
| Last Updated | 2026-02-09 22:00 GMT |
Overview
Concrete tool for installing TA-Lib via pip install TA-Lib using pre-built binary wheels from PyPI.
Description
This is an External Tool Doc documenting the pip installation command. The CI workflow in .github/workflows/wheels.yml builds wheels for 7 platform/architecture combinations using cibuildwheel, then uploads them to PyPI.
Usage
Run pip install TA-Lib as the first installation attempt. If no wheel is available, proceed to source build.
Code Reference
Source Location
- Repository: ta-lib-python
- File: .github/workflows/wheels.yml (L1-249)
- Config: pyproject.toml (L1-3, build-system requires)
Signature
# Install from PyPI (attempts wheel first)
pip install TA-Lib
# Install specific version
pip install TA-Lib==0.6.9
# Force source build (skip wheels)
pip install TA-Lib --no-binary :all:
Import
# After installation
import talib
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| python_version | — | Yes | Python >= 3.9 |
| platform | — | Yes | One of: linux x86_64/arm64, macOS x86_64/arm64, Windows amd64/x86/arm64 |
Outputs
| Name | Type | Description |
|---|---|---|
| installed_package | Python package | talib package with compiled _ta_lib extension |
Usage Examples
Standard Installation
pip install TA-Lib
Verify Installation
import talib
print(talib.__version__) # '0.6.9'
print(len(talib.get_functions())) # 161
Related Pages
Implements Principle
Requires Environment
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment