python lxml 安装失败
Make sure you have enough memory. Try dmesg |
tail
to see if it outputs something like:
[3778136.277570]Out of memory:Kill process 21267(cc1) score 557or sacrifice child
[3778136.277587]Killed process 21267(cc1) total-vm:365836kB, anon-rss:336228kB, file-rss:0kB
可能是内存不够被kill了。
解决方法是,只能用硬盘做交换。
In Short:
- Login as root:
su -
or execute the commands withsudo
in front dd if=/dev/zero of=/swapfile1 bs=1024 count=524288
mkswap /swapfile1
chown root:root /swapfile1
chmod 0600 /swapfile1
swapon /swapfile1
Now the swap file will be activated temporarily, but will be gone after reboot. You should have enough RAM for your installing process
To Remove the File:
swapoff -v /swapfile1
rm /swapfile1
这个帮助就跟神一样呀。
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。