我的环境:
Linux 64
Anaconda2 和 anaconda3 共存
共存方法:https://www.cnblogs.com/zle1992/p/6720425.html
遇到的坑和解决办法
- 坑主要是py3的,py2的直接就安装成功了
- conda install 由于依赖python版本和我的系统版本不兼容,因此不考虑anaconda.org/Quantopian/ta-lib处的解决方案,此外,即使兼容,照样没有从根本上解决问题,因此原来的报错将依然存在。
- 首先是pip install TA-Lib无法安装成功,报错信息为:
compilation terminated. error: command ‘gcc’ failed with exit status 1
- 尝试了这里的方法: https://stackoverflow.com/questions/11094718/error-command-gcc-failed-with-exit-status-1-while-installing-eventlet
- 尝试了命令:yum install gcc libffi-devel python-devel openssl-devel
- 这里yum安装的时候发现yum的源有问题导致无法安装,