lxml installation error ubuntu 14.04 (internal compiler error)

后端 未结 5 525
-上瘾入骨i
-上瘾入骨i 2020-12-04 07:17

I am having problems with installing lxml. I have tried the solutions of the relative questions in this site and other sites but could not fix the problem. Need

5条回答
  •  一整个雨季
    2020-12-04 07:59

    Possible solution (if you have no ability to increase memory on that machine) is to add swap file.

    sudo dd if=/dev/zero of=/swapfile bs=1024 count=524288
    sudo chmod 600 /swapfile
    sudo mkswap /swapfile
    sudo swapon /swapfile
    

    from https://github.com/pydata/pandas/issues/1880#issuecomment-9920484

    This worked for me on smallest digital ocean machine

提交回复
热议问题