error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 pycuda code example
Example 1: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
sudo apt-get install libpq-dev libxml2-dev libxslt1-dev python-dev
Example 2: python error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
sudo apt-get install gcc python3.x-dev # choose correct python version