Skip to content

Instantly share code, notes, and snippets.

@brunocapelao
Created June 22, 2018 14:39
Show Gist options
  • Save brunocapelao/ed1b4f566fccf630e1fb749e5992e964 to your computer and use it in GitHub Desktop.
Save brunocapelao/ed1b4f566fccf630e1fb749e5992e964 to your computer and use it in GitHub Desktop.
Dependences:
sudo apt-get update
sudo apt-get install build-essential
apt-get install python-dev
sudo pip install -U setuptools
Steps:
download from https://mrjbq7.github.io/ta-lib/install.html
untar tar -xvf ta-lib-0.4.0-src.tar.gz
cd /../ta-lib
./configure --prefix=/usr
make
sudo make install
sudo apt upgrade
pip install ta-lib or pip install TA-Lib
Check import talib
@SantosVision
Copy link

hello, i use Nvidia jetson nano 2gb with jetpack ubuntu 18.04, when i tried ./configure --prefix=/usr the response is this

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2006-07-02, has failed to recognize

the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
and
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to [email protected] in order to provide the needed
information to handle your system.

config.guess timestamp = 2006-07-02

uname -m = aarch64
uname -r = 4.9.201-tegra
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri Feb 19 08:40:32 PST 2021

/usr/bin/uname -p =
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.9.201-tegra
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP PREEMPT Fri Feb 19 08:40:32 PST 2021
configure: error: cannot guess build type; you must specify one

hey, where u able to get it fixed?

@djdeathdj
Copy link

Very big thank you!

@seth-noaa
Copy link

@Vino-git
Your solution to the install on Jetson (in my case AGX not nano) worked perfectly. Thank you.

@zwarag
Copy link

zwarag commented Apr 9, 2022

Worked for me on 21.10

@maurellio
Copy link

Have a problem: after I made all steps and library was installed - No module named talib when I'm trying to import. How can I solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment