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

前端 未结 3 1247
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 00:50

I tried to install \"scholarly\" package, but I keep receiving this error:

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -         


        
3条回答
  •  清歌不尽
    2020-12-13 01:15

    In my case the exception was:

    Exception:

    #include 
              ^~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit
    status 1
    

    And I solved it by installing these libraries:

    sudo apt-get install libsnappy-dev
    
    pip3 install python-snappy
    

    Here is a great explanation about the cause of the exception and how we can get rid of that.

提交回复
热议问题