安装 ta-lib

mac的操作
brew install ta-lib
conda install -c conda-forge ta-lib

linux的操作
1.sudo apt-get -y install gcc build-essential
2.安装好了anacoda之后,将下面文件写入 .sh
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

利用 oh my zsh的zsh 命令运行.sh

posted @ 2022-07-08 16:25  Marklong  阅读(144)  评论(0编辑  收藏  举报