0
OpenSUSEのリープ42.1、のpython 2.7.9を、ピップ8.1.2と「libxml2の」
私はTushareをインストールしたいが、端末は何のlxmlのがなかった私に言いました。その後、最初にsudo zypper in libxml2
を使用しますが、公式サイトからダウンロードしたlxml-3.6.1.tar.gzで "lxml"をインストールしたいときに使用します。それは返す:
compilation terminated.
Compile failed: command 'gcc' failed with exit status 1
cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitVXdVTQ.c -o tmp/xmlXPathInitVXdVTQ.o
/tmp/xmlXPathInitVXdVTQ.c:1:26: fatal error: libxml/xpath.h: no such files or directory
#include "libxml/xpath.h"
^
compilation terminated.
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
error: command 'gcc' failed with exit status 1
前に 'gcc'をインストールしました。それでは、どうすればこの問題に対処できますか? 今後、このような問題の鍵を見つけるべきでしょうか? どうもありがとう