我很难将Python3.6的lxml安装到BeagleBone Black(Debian GNU/Linux版本9)上。
基于
this article
sudo apt-get install libxml2-dev libxslt-dev python-dev
那么这个:
sudo apt-get build-dep python3-lxml
E: You must put some 'source' URIs in your sources.list
基于
this answer
,我需要修改
sources.list
如何克服此错误并为Python3安装lxml库?
顺便说一下,当我运行命令时:
sudo apt-get install python3-lxml
它失败的原因是一个很长的消息
arm-linux-gnueabihf-gcc: internal compiler error: Killed (program cc1)