Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我想在Python上使用传说中的TA-Lib。
brew install TA-Lib工作。
brew install TA-Lib
但是当我尝试pipenv install TA-Lib甚至pip install TA-Lib我得到以下错误时: command 'clang' failed with exit status 1
pipenv install TA-Lib
pip install TA-Lib
command 'clang' failed with exit status 1
我可以在 brew 的代码中以某种方式使用 TA-Lib 吗?看来我无法安装它。
- 编辑 - 尝试这种方式:
首先在那里下载:
指向库的超链接
然后,
tar xf ta-lib-0.4.0-src.tar.gz cd ta-lib ./configure --prefix=/usr/local make sudo make install
“前缀”非常重要。不要错过它。
最后但并非最不重要的: