本文介绍了TA-Lib 安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 pip 在 Debian Jessie 上安装 TA-Lib.但是我遇到以下错误:
#include "ta-lib/ta_defs.h"^编译终止.错误:命令x86_64-linux-gnu-gcc"失败,退出状态为 1
这只是错误的一小部分.我试过
在这之后,你可以输入: pip install ta-lib ,成功!
I am trying to install TA-Lib on Debian Jessie using pip. However I am encountering the following error:
#include "ta-lib/ta_defs.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
That is just a small bit of the error. I have tried as this post mentioned installing the following packages:
sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev
sudo easy_install greenlet
sudo easy_install gevent
without much luck. I am using python 3.4 on a VPS if that makes a difference. Any ideas on how I can solve this issue? Thanks
解决方案
first, you should download the ta-lib at link: http://ta-lib.org/hdr_dw.html .This is a c lib...
$ untar and cd
$ ./configure --prefix=/usr
$ make
$ sudo make install
After this, you can input : pip install ta-lib , Successfully!
这篇关于TA-Lib 安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!