“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv

后端 未结 9 1818
清酒与你
清酒与你 2020-12-29 22:18

Environment: Linux Mint 17 Cinnamon.

This error is displayed:

error: command \'x86_64-linux-gnu-gcc\' failed with exit status 1

w

9条回答
  •  暖寄归人
    2020-12-29 22:52

    For me the installation of lxml was failing on compilation. I followed the instructions for installation of lxml and reduced the compiler optimizations:

    sudo CFLAGS="-O0"  pip install lxml
    

    After doing this, the compile of lxml succeeded.

提交回复
热议问题