ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

Unable to install ta-lib on arch linux

Open pranavlal opened this issue 1 year ago • 26 comments

Hi all,

I am unable to install ta-lib using pip on arch linux. I have a python virtual environment in which I am trying to install ta-lib.

I have downloaded ta-lib 0.6.4 and have followed the installation instructions for the c++ library without a problem.

Basically, here is what I did. wget https://github.com/TA-Lib/ta-lib/releases/download/v0.6.4/ta-lib-0.6.4-src.tar.gz However, I am having an issue with python. When I do pip install ta-lib --no-cache I get the following errors.

`` (ml_clean) [pranav@archlinux ta-lib]$ pip install ta-lib --no-cache
Collecting ta-lib
Downloading ta_lib-0.6.1.tar.gz (372 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting setuptools (from ta-lib)
Downloading setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
Collecting numpy (from ta-lib)
Downloading numpy-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
Downloading numpy-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.1/16.1 MB 115.0 MB/s eta 0:00:00
Downloading setuptools-75.8.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 219.1 MB/s eta 0:00:00
Building wheels for collected packages: ta-lib
Building wheel for ta-lib (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for ta-lib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [44 lines of output]
:83: UserWarning: Cannot find ta-lib library, installation may fail.
/tmp/pip-build-env-d55kls/overlay/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:81: SetuptoolsWarning: install_requires overwritten in pyproject.toml (dependencies)
corresp(dist, value, root_dir)
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/talib
copying talib/init.py -> build/lib.linux-x86_64-cpython-313/talib
copying talib/abstract.py -> build/lib.linux-x86_64-cpython-313/talib
copying talib/deprecated.py -> build/lib.linux-x86_64-cpython-313/talib
copying talib/stream.py -> build/lib.linux-x86_64-cpython-313/talib
running egg_info
writing ta_lib.egg-info/PKG-INFO
writing dependency_links to ta_lib.egg-info/dependency_links.txt
writing requirements to ta_lib.egg-info/requires.txt
writing top-level names to ta_lib.egg-info/top_level.txt
reading manifest file 'ta_lib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'ta_lib.egg-info/SOURCES.txt'
copying talib/_abstract.pxi -> build/lib.linux-x86_64-cpython-313/talib
copying talib/_common.pxi -> build/lib.linux-x86_64-cpython-313/talib
copying talib/_func.pxi -> build/lib.linux-x86_64-cpython-313/talib
copying talib/_stream.pxi -> build/lib.linux-x86_64-cpython-313/talib
copying talib/_ta_lib.c -> build/lib.linux-x86_64-cpython-313/talib
copying talib/_ta_lib.pyi -> build/lib.linux-x86_64-cpython-313/talib
copying talib/_ta_lib.pyx -> build/lib.linux-x86_64-cpython-313/talib
copying talib/py.typed -> build/lib.linux-x86_64-cpython-313/talib
running build_ext
building 'talib._ta_lib' extension
creating build/temp.linux-x86_64-cpython-313/talib
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/opt/homebrew/include -I/opt/homebrew/opt/ta-lib/include -I/tmp/pip-build-env-d55kls/normal/lib/python3.13/site-packages/numpy/_core/include -I/home/pranav/.virtualenvs/ml_clean/include -I/usr/include/python3.13 -c talib/_ta_lib.c -o build/temp.linux-x86_64-cpython-313/talib/_ta_lib.o
In file included from /tmp/pip-build-env-d55kls/normal/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
from /tmp/pip-build-env-d55kls/normal/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-d55kls/normal/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from talib/_ta_lib.c:1235:
/tmp/pip-build-env-d55kls/normal/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto build/temp.linux-x86_64-cpython-313/talib/_ta_lib.o -L/usr/lib -L/usr/local/lib -L/usr/lib64 -L/usr/local/lib64 -L/opt/lib -L/opt/local/lib -L/opt/homebrew/lib -L/opt/homebrew/opt/ta-lib/lib -L/usr/lib -Wl,--enable-new-dtags,-rpath,/usr/lib -Wl,--enable-new-dtags,-rpath,/usr/local/lib -Wl,--enable-new-dtags,-rpath,/usr/lib64 -Wl,--enable-new-dtags,-rpath,/usr/local/lib64 -Wl,--enable-new-dtags,-rpath,/opt/lib -Wl,--enable-new-dtags,-rpath,/opt/local/lib -Wl,--enable-new-dtags,-rpath,/opt/homebrew/lib -Wl,--enable-new-dtags,-rpath,/opt/homebrew/opt/ta-lib/lib -lta-lib -o build/lib.linux-x86_64-cpython-313/talib/_ta_lib.cpython-313-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lta-lib: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ta-lib
Failed to build ta-lib
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ta-lib)
``

How do I fix this problem?

pranavlal avatar Jan 16 '25 02:01 pranavlal

It doesn’t seem to be finding the TA-Lib C library, where do you install it to?

/usr/bin/ld: cannot find -lta-lib: No such file or directory

mrjbq7 avatar Jan 16 '25 03:01 mrjbq7

Hi,

I have run the following commands to install ta-lib.

$ ./configure --prefix=/usr

$ make

$ sudo make install

I can for instance see the ta-lib folder under the /usr/include folder.

pranavlal avatar Jan 16 '25 04:01 pranavlal

I just tested and it works fine with 0.6.4, so I'm not sure what's going on.

It is possible that you have TA-Lib C library 0.4.0 installed still? They changed the library name to -lta-lib from -lta_lib and the 0.6 releases track the new 0.6 upstream.

mrjbq7 avatar Jan 16 '25 15:01 mrjbq7

@mrjbq7 Wondering: is "-rpath,/opt/homebrew/opt/ta-lib/lib" always there or an indication that setup.py found it in that location? (and presumably it is an older version like you were saying).

mario4tier avatar Jan 19 '25 06:01 mario4tier

I think homebrew stores both ta-lib 0.4.x and ta-lib 0.6.x in that directory, so its not enough to see it to know for sure.

But homebrew can easily upgrade to 0.6.4 using brew upgrade ta-lib...

mrjbq7 avatar Jan 19 '25 22:01 mrjbq7

For some reason i'm also getting this or a similar error today when rebuilding my pyhon 3.12 container....haven't figure it out yet. Anyone see anything obvious from here?


55.85 Downloading rsa-4.9-py3-none-any.whl (34 kB)
55.87 Downloading pyasn1-0.6.1-py3-none-any.whl (83 kB)
56.23 Building wheels for collected packages: TA_Lib, tabula, websockets, sgmlli
b3k
56.23   Building wheel for TA_Lib (pyproject.toml): started
126.6   Building wheel for TA_Lib (pyproject.toml): still running...
126.7   Building wheel for TA_Lib (pyproject.toml): finished with status 'error'
126.7   error: subprocess-exited-with-error
126.7
126.7   × Building wheel for TA_Lib (pyproject.toml) did not run successfully.
126.7   │ exit code: 1
126.7   ╰─> [44 lines of output]
126.7       <string>:83: UserWarning: Cannot find ta-lib library, installation m
ay fail.
126.7       /tmp/pip-build-env-broujt6o/overlay/lib/python3.12/site-packages/set
uptools/config/_apply_pyprojecttoml.py:81: SetuptoolsWarning: `install_requires`
 overwritten in `pyproject.toml` (dependencies)
126.7         corresp(dist, value, root_dir)
126.7       running bdist_wheel
126.7       running build
126.7       running build_py
126.7       creating build/lib.linux-x86_64-cpython-312/talib
126.7       copying talib/__init__.py -> build/lib.linux-x86_64-cpython-312/tali
b
126.7       copying talib/deprecated.py -> build/lib.linux-x86_64-cpython-312/ta
lib
126.7       copying talib/stream.py -> build/lib.linux-x86_64-cpython-312/talib
126.7       copying talib/abstract.py -> build/lib.linux-x86_64-cpython-312/tali
b
126.7       running egg_info
126.7       writing ta_lib.egg-info/PKG-INFO
126.7       writing dependency_links to ta_lib.egg-info/dependency_links.txt
126.7       writing requirements to ta_lib.egg-info/requires.txt
126.7       writing top-level names to ta_lib.egg-info/top_level.txt
126.7       reading manifest file 'ta_lib.egg-info/SOURCES.txt'
126.7       reading manifest template 'MANIFEST.in'
126.7       adding license file 'LICENSE'
126.7       adding license file 'AUTHORS'
126.7       writing manifest file 'ta_lib.egg-info/SOURCES.txt'
126.7       copying talib/_abstract.pxi -> build/lib.linux-x86_64-cpython-312/ta
lib
126.7       copying talib/_common.pxi -> build/lib.linux-x86_64-cpython-312/tali
b
126.7       copying talib/_func.pxi -> build/lib.linux-x86_64-cpython-312/talib
126.7       copying talib/_stream.pxi -> build/lib.linux-x86_64-cpython-312/tali
b
126.7       copying talib/_ta_lib.c -> build/lib.linux-x86_64-cpython-312/talib
126.7       copying talib/_ta_lib.pyi -> build/lib.linux-x86_64-cpython-312/tali
b
126.7       copying talib/_ta_lib.pyx -> build/lib.linux-x86_64-cpython-312/tali
b
126.7       copying talib/py.typed -> build/lib.linux-x86_64-cpython-312/talib
126.7       running build_ext
126.7       building 'talib._ta_lib' extension
126.7       creating build/temp.linux-x86_64-cpython-312/talib
126.7       gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC
-I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/opt/h
omebrew/include -I/opt/homebrew/opt/ta-lib/include -I/tmp/pip-build-env-broujt6o
/normal/lib/python3.12/site-packages/numpy/_core/include -I/usr/local/include/py
thon3.12 -c talib/_ta_lib.c -o build/temp.linux-x86_64-cpython-312/talib/_ta_lib
.o
126.7       In file included from /tmp/pip-build-env-broujt6o/normal/lib/python3
.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
126.7                        from /tmp/pip-build-env-broujt6o/normal/lib/python3
.12/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
126.7                        from /tmp/pip-build-env-broujt6o/normal/lib/python3
.12/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
126.7                        from talib/_ta_lib.c:1235:
126.7       /tmp/pip-build-env-broujt6o/normal/lib/python3.12/site-packages/nump
y/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using de
precated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API
_VERSION" [-Wcpp]
126.7          17 | #warning "Using deprecated NumPy API, disable it with " \
126.7             |  ^~~~~~~
126.7       gcc -shared build/temp.linux-x86_64-cpython-312/talib/_ta_lib.o -L/u
sr/lib -L/usr/local/lib -L/usr/lib64 -L/usr/local/lib64 -L/opt/lib -L/opt/local/
lib -L/opt/homebrew/lib -L/opt/homebrew/opt/ta-lib/lib -L/usr/local/lib -Wl,--en
able-new-dtags,-rpath,/usr/lib -Wl,--enable-new-dtags,-rpath,/usr/local/lib -Wl,
--enable-new-dtags,-rpath,/usr/lib64 -Wl,--enable-new-dtags,-rpath,/usr/local/li
b64 -Wl,--enable-new-dtags,-rpath,/opt/lib -Wl,--enable-new-dtags,-rpath,/opt/lo
cal/lib -Wl,--enable-new-dtags,-rpath,/opt/homebrew/lib -Wl,--enable-new-dtags,-
rpath,/opt/homebrew/opt/ta-lib/lib -lta-lib -o build/lib.linux-x86_64-cpython-31
2/talib/_ta_lib.cpython-312-x86_64-linux-gnu.so
126.7       /usr/bin/ld: cannot find -lta-lib: No such file or directory
126.7       collect2: error: ld returned 1 exit status
126.7       error: command '/usr/bin/gcc' failed with exit code 1
126.7       [end of output]
[2025-01-27T18:14:50.476Z] 
126.7
126.7   note: This error originates from a subprocess, and is likely not a probl
em with pip.
126.7   ERROR: Failed building wheel for TA_Lib

msingh0101 avatar Jan 27 '25 18:01 msingh0101

@msingh0101 Please do "ls /opt/homebrew/opt/ta-lib/lib" and share the output with us. Thanks.

mario4tier avatar Jan 27 '25 18:01 mario4tier

@msingh0101 Please do "ls /opt/homebrew/opt/ta-lib/lib" and share the output with us. Thanks.

im running on windows, trying to build a debian/pthon dev container in vscode.
i have it installed therefore in c:\ta-lib because according to the setup.py, that is one of the directories it looks for it at:

elif sys.platform == "win32":
    platform_supported = True
    lib_talib_name = 'ta-lib-static'
    include_dirs = [
        r"c:\ta-lib\c\include",
        r"c:\Program Files\TA-Lib\include",
        r"c:\Program Files (x86)\TA-Lib\include",
    ]
    library_dirs = [
        r"c:\ta-lib\c\lib",
        r"c:\Program Files\TA-Lib\lib",
        r"c:\Program Files (x86)\TA-Lib\lib",
    ]

msingh0101 avatar Jan 27 '25 18:01 msingh0101

Your issue is probably related to which version of the TA-Lib C library you use.

UserWarning: Cannot find ta-lib library, installation may fail

mrjbq7 avatar Jan 27 '25 18:01 mrjbq7

Your issue is probably related to which version of the TA-Lib C library you use.

UserWarning: Cannot find ta-lib library, installation may fail

strangely this has been working fine for a year+. im not sure what changed. the libraries are under c:\ta-lib\c\lib

Image

msingh0101 avatar Jan 27 '25 18:01 msingh0101

See this for why it's different:

https://github.com/TA-Lib/ta-lib-python?tab=readme-ov-file#versions

mrjbq7 avatar Jan 27 '25 18:01 mrjbq7

See this for why it's different:

https://github.com/TA-Lib/ta-lib-python?tab=readme-ov-file#versions

i see, was this change recently? it is not clear to me what needs to be done to fix this. I took the latest zip file for windows and unzipped it to c:\ta-lib. didnt resolve my issue. do i need to build this from source once more?

msingh0101 avatar Jan 27 '25 18:01 msingh0101

Well, :

do you use TA-Lib 0.4 and numpy 1 pip install ta-lib<0.5

do you use TA-Lib 0.4 and numpy 2 pip install ta-lib<0.6

do you use TA-Lib 0.6 and numpy 2 pip install ta-lib

mrjbq7 avatar Jan 27 '25 18:01 mrjbq7

If your goal is to have the latest "ta-lib" C library installed in "C:\Program Files\TA-Lib", then I recommend to use the "msi" installer. It's just a few click and you are done: https://github.com/TA-Lib/ta-lib/releases

In the future, to upgrade you just click on the new "msi" (it will replace the older version).

Also, you will be able to cleanly uninstall using the usual windows procedure (with the "Add/Remove program" in settings)

mario4tier avatar Jan 27 '25 19:01 mario4tier

Just a clarification, there is a plan to have a python wheel such that installing the "ta-lib" C library separately will no longer be needed... but I will let @mrjbq7 follow up further on this.

mario4tier avatar Jan 27 '25 19:01 mario4tier

If your goal is to have the latest "ta-lib" C library installed in "C:\Program Files\TA-Lib", then I recommend to use the "msi" installer. It's just a few click and you are done: https://github.com/TA-Lib/ta-lib/releases

In the future, to upgrade you just click on the new "msi" (it will replace the older version).

Also, you will be able to cleanly uninstall using the usual windows procedure (with the "Add/Remove program" in settings)

I am trying to build it in the container directly now. forget windows all together. So step by step: Following the documentation here: https://github.com/TA-Lib/ta-lib-python?tab=readme-ov-file#versions

  1. i downloaded the .gz linux file
  2. copy into my container and run make
  3. pip install TA-Lib

Build and pip install

# Install TA-Lib
COPY ./infrastructure/dependencies/ta-lib-0.4.0-src.tar.gz ta-lib-0.4.0-src.tar.gz
RUN tar -xzf ta-lib-0.4.0-src.tar.gz
RUN cd ta-lib/ \
    && ./configure --prefix=/usr \
    && make \
    && make install \
    && cd .. \
    && rm -rf ta-lib ta-lib-0.4.0-src.tar.gz

COPY requirements.txt /tmp/requirements.txt
RUN python -m pip install --upgrade pip \
    && python -m pip install -r /tmp/requirements.txt

My requirements file, i have ta lib as: TA-Lib

This still results in the following:

139.7   × Building wheel for TA-Lib (pyproject.toml) did not run successfully.
139.7   │ exit code: 1
139.7   ╰─> [44 lines of output]
139.7       <string>:83: UserWarning: Cannot find ta-lib library, installation m
139.7       /tmp/pip-build-env-xbhsy_wc/normal/lib/python3.12/site-packages/nump
y/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using de
precated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API
_VERSION" [-Wcpp]
139.7          17 | #warning "Using deprecated NumPy API, disable it with " \
139.7             |  ^~~~~~~
139.7       gcc -shared build/temp.linux-x86_64-cpython-312/talib/_ta_lib.o -L/u
sr/lib -L/usr/local/lib -L/usr/lib64 -L/usr/local/lib64 -L/opt/lib -L/opt/local/
lib -L/opt/homebrew/lib -L/opt/homebrew/opt/ta-lib/lib -L/usr/local/lib -Wl,--en
able-new-dtags,-rpath,/usr/lib -Wl,--enable-new-dtags,-rpath,/usr/local/lib -Wl,
--enable-new-dtags,-rpath,/usr/lib64 -Wl,--enable-new-dtags,-rpath,/usr/local/li
b64 -Wl,--enable-new-dtags,-rpath,/opt/lib -Wl,--enable-new-dtags,-rpath,/opt/lo
cal/lib -Wl,--enable-new-dtags,-rpath,/opt/homebrew/lib -Wl,--enable-new-dtags,-
rpath,/opt/homebrew/opt/ta-lib/lib -lta-lib -o build/lib.linux-x86_64-cpython-31
2/talib/_ta_lib.cpython-312-x86_64-linux-gnu.so
**139.7       /usr/bin/ld: cannot find -lta-lib: No such file or directory**
139.7       collect2: error: ld returned 1 exit status
139.7       error: command '/usr/bin/gcc' failed with exit code 1
139.7       [end of output]

msingh0101 avatar Jan 27 '25 19:01 msingh0101

You're killing me, I literally pasted the versions and what they support and you're ignoring it.

If you want to use ta-lib-0.4.0-src.tar.gz then either use pip install ta-lib<0.5 or pip install ta-lib<0.6.

The pip install ta-lib is the 0.6 branch and supports ta-lib-0.6.4-src.tar.gz.

mrjbq7 avatar Jan 27 '25 19:01 mrjbq7

ta-lib-0.6.4-src.tar.gz.

oh...my bad. i started reading the readme/documentation from my last response and trying the changes in my container..so i might have missed your subsequent responses. let me see where i can find this ta-lib-0.6.4-src.tar.gz as the readme currently references the one i used.

msingh0101 avatar Jan 27 '25 20:01 msingh0101

Or use the other feature branches, they are all now feature equivalent.

mrjbq7 avatar Jan 27 '25 20:01 mrjbq7

Or use the other feature branches, they are all now feature equivalent.

i see. so if we wanted to use the latest version, we would have to build from github source? there is no tar file for ta-lib-0.6.4-src.tar.gz?

msingh0101 avatar Jan 27 '25 20:01 msingh0101

You're killing me, I literally pasted the versions and what they support and you're ignoring it.

If you want to use ta-lib-0.4.0-src.tar.gz then either use pip install ta-lib<0.5 or pip install ta-lib<0.6.

The pip install ta-lib is the 0.6 branch and supports ta-lib-0.6.4-src.tar.gz.

using ta-lib<0.6 gets me by this lil turbulence. thanks.

i do want to use the latest/greatest though - so will comeback tto trying 0.6.4 at some point.

msingh0101 avatar Jan 27 '25 20:01 msingh0101

i see. so if we wanted to use the latest version, we would have to build from github source? there is no tar file for ta-lib-0.6.4-src.tar.gz?

https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib-0.6.4-src.tar.gz

mrjbq7 avatar Jan 27 '25 22:01 mrjbq7

i see. so if we wanted to use the latest version, we would have to build from github source? there is no tar file for ta-lib-0.6.4-src.tar.gz?

https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib-0.6.4-src.tar.gz

thank you. this works. FYI - only thing it doesnt expand to ta-lib, but rather ta-lib-0.6.4...so minor difference from the readme.

here is the updated script in case it helps anyone else

ENV TA_LIB_VERSION="ta-lib-0.6.4"
RUN curl -LJO https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/$TA_LIB_VERSION-src.tar.gz
RUN tar -xzf $TA_LIB_VERSION-src.tar.gz
RUN cd $TA_LIB_VERSION/ \
    && ./configure --prefix=/usr \
    && make \
    && make install \
    && cd .. \
    && rm -rf $TA_LIB_VERSION $TA_LIB_VERSION-src.tar.gz

msingh0101 avatar Jan 28 '25 03:01 msingh0101

Great!

mrjbq7 avatar Jan 28 '25 03:01 mrjbq7

https://github.com/chenin-wang/ta-lib-python-wheel

chenin-wang avatar Apr 08 '25 02:04 chenin-wang

Hi,

Many thanks, these prebuilt wheel files have helped tremendously. I have been able to install ta-lib.

From: chenin-wang @.> Sent: Tuesday, April 8, 2025 8:14 AM To: TA-Lib/ta-lib-python @.> Cc: Pranav Lal @.>; Author @.> Subject: Re: [TA-Lib/ta-lib-python] Unable to install ta-lib on arch linux (Issue #701)

https://github.com/chenin-wang/ta-lib-python-wheel

— Reply to this email directly, view it on GitHub https://github.com/TA-Lib/ta-lib-python/issues/701#issuecomment-2785085220 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCF2A2JNC64QVTEKVFOQHL2YMZXTAVCNFSM6AAAAABVIRKHVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBVGA4DKMRSGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ACCF2AYPHEGIEDHLBYGPMHL2YMZXTA5CNFSM6AAAAABVIRKHVKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVGAEDSI.gif Message ID: @.*** @.***> >

https://avatars.githubusercontent.com/u/88609203?s=20&v=4 chenin-wang left a comment (TA-Lib/ta-lib-python#701) https://github.com/TA-Lib/ta-lib-python/issues/701#issuecomment-2785085220

https://github.com/chenin-wang/ta-lib-python-wheel

— Reply to this email directly, view it on GitHub https://github.com/TA-Lib/ta-lib-python/issues/701#issuecomment-2785085220 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCF2A2JNC64QVTEKVFOQHL2YMZXTAVCNFSM6AAAAABVIRKHVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBVGA4DKMRSGA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ACCF2AYPHEGIEDHLBYGPMHL2YMZXTA5CNFSM6AAAAABVIRKHVKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVGAEDSI.gif Message ID: @.*** @.***> >

pranavlal avatar Apr 09 '25 00:04 pranavlal