Error: command 'i686-linux-gnu-gcc' failed with exit status 1 while installing pylibbvg

I am installing pylibvg and I am getting many links with similar error, but for different installations. I tried several things but keep getting the error. Basically, I'm trying to run:sudo python setup.py build_ext --inplace

I have already successfully completed the following:

pip install cython
sudo apt-get update
sudo apt-get install python-dev

      

Any ideas why I am getting errors?

+3


source to share


2 answers


It seems that this error might have occurred due to insufficient memory.

As wuan said, https://github.com/pydata/pandas/issues/1880 "by following the instructions for creating a swap file I was able to overcome my issue. You can see if that helps you.



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

      

0


source


Python.h is nothing more than a header file. It is used by gcc to build applications. You need to install a package called python-dev. This package includes header files, a static library, and development tools for creating Python modules, extending a Python interpreter, or embedding Python into applications. To install this package, enter:

$ sudo apt-get install python-dev

      

or



$ apt-get install python-dev

      

ref: http://www.cyberciti.biz/faq/debian-ubuntu-linux-python-h-file-not-found-error-solution/

0


source







All Articles