すいません。質問です
pipでlxmlをインストールしようとすると以下のようなエラーが出てしまいます
running build_ext building 'lxml.etree' extension creating build/temp.linux-armv7l-3.5 creating build/temp.linux-armv7l-3.5/src creating build/temp.linux-armv7l-3.5/src/lxml gcc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/lxml/includes -I/root/.pyenv/versions/3.5.1/include/python3.5m -c src/lxml/lxml.etree.c -o build/temp.linux-armv7l-3.5/src/lxml/lxml.etree.o -w In file included from src/lxml/lxml.etree.c:321:0: src/lxml/includes/etree_defs.h:14:31: 致命的エラー: libxml/xmlversion.h: そのようなファイルやディレクトリはありません #include "libxml/xmlversion.h" ^ コンパイルを停止しました。 Compile failed: command 'gcc' failed with exit status 1 creating tmp cc -I/usr/include/libxml2 -c /tmp/xmlXPathInittcuj55lo.c -o tmp/xmlXPathInittcuj55lo.o cc tmp/xmlXPathInittcuj55lo.o -lxml2 -o a.out error: command 'gcc' failed with exit status 1
調べてlibxslt-develをインストールしようとしたのですが次は以下の様なエラーが出てしまいました
読み込んだプラグイン:fastestmirror Loading mirror speeds from cached hostfile パッケージ libxslt-devel は利用できません。 エラー: 何もしません
これに関しては調べても解決方法が見出せませんでした
どなたか分かる方はいらっしゃるでしょうか
環境はraspberryPie2用のCentOS7
python3.5.1
pyenvで管理しています
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/27 11:58
2016/09/28 06:48