0

I switch of ubuntu 16 to ubuntu 19 and dose not work gcc this error is: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 --> in python3.7.1 and ubuntu 19.04

sudo apt-get install python3.7-dev
sudo apt-get install python-dev

i test this link but does not work:

https://stackoverflow.com/questions/35048582/how-to-fix-error-command-x86-64-linux-gnu-gcc-failed-with-exit-status-1

       Compile failed: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  creating tmp
  cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitfuvqfw8a.c -o tmp/xmlXPathInitfuvqfw8a.o
  /tmp/xmlXPathInitfuvqfw8a.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
   main (int argc, char **argv) {
   ^~~~
  cc tmp/xmlXPathInitfuvqfw8a.o -lxml2 -o a.out
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for lxml
  Running setup.py clean for lxml
  Building wheel for numpy (setup.py) ...

I'm very try but i can not solve problem help me thanks

omides248
  • 128
  • 2
  • 12

0 Answers0