Ubuntu:
#!/usr/bin/env bash |
| ## sudo apt install build-essential wget -y |
| ## wget https://artiya4u.keybase.pub/TA-lib/ta-lib-0.4.0-src.tar.gz |
| ## tar -xvf ta-lib-0.4.0-src.tar.gz |
| ## cd ta-lib/ |
| ## ./configure --prefix=/usr |
| ## make |
| ## sudo make install
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz \
&& sudo tar -xzf ta-lib-0.4.0-src.tar.gz \
&& sudo rm ta-lib-0.4.0-src.tar.gz \
&& cd ta-lib/ \
&& sudo ./configure --prefix=/usr \
&& sudo make \
&& sudo make install \
&& cd ~ \
&& sudo rm -rf ta-lib/ \
&& pip install ta-lib
|