# How to install Ta-lib in Python Anaconda environment

By [lostleaf.eth](https://paragraph.com/@lostleaf) · 2024-04-08

---

TA-Lib is a widely utilized library for technical analysis in quantitative trend-following strategies. The installation process for TA-Lib can be quite challenging, leading users to spend a significant amount of time on setup.

In this article, we will discuss a straightforward method for installing TA-Lib within the Python Anaconda environment as of today (2023–06–23).

For all 64-bit operating systems, including Windows, Linux, and macOS (Arm64 M1-M3 CPUs are supported), installation can be completed using a single command:

    > conda install -c conda-forge ta-lib
    

After installation, we can verify with the following:

    > python -c "import talib; print(talib.__version__)"
    0.4.19
    

Support for the arm64 version of macOS has been recently added. With the latest Anaconda release, _Anaconda3–2023.03–1-MacOSX-arm64_, you can verify the installation using:

    > python -c "import talib, platform; print(platform.processor(), talib.__version__)"
    arm 0.4.19
    

This confirms that the library has been installed correctly on the Arm64 version of macOS.

---

*Originally published on [lostleaf.eth](https://paragraph.com/@lostleaf/how-to-install-ta-lib-in-python-anaconda-environment)*
