error: command 'c++' failed with exit status 1

后端 未结 2 1784
慢半拍i
慢半拍i 2021-01-29 03:30

So I am trying to install Pyv8 by following instruction from https://andrewwilkinson.wordpress.com/2012/01/23/integrating-python-and-javascript-with-pyv8/


    s         


        
2条回答
  •  青春惊慌失措
    2021-01-29 04:06

    It is because the version of gcc and g++ is too low for me, as I downgrade it when i install cuda sometime. Just follow the following commands:

    $ cd /usr/bin 
    $  rm gcc
    $ ln -s gcc-5 gcc  
    $ rm g++
    $ ln -s g++-5 g++ 
    

    Done.

提交回复
热议问题