Skip to content

Instantly share code, notes, and snippets.

@SRJ9
Last active September 19, 2020 16:39
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save SRJ9/5cd7c52da9fffebfccfa7efd0d34fcef to your computer and use it in GitHub Desktop.
Save SRJ9/5cd7c52da9fffebfccfa7efd0d34fcef to your computer and use it in GitHub Desktop.
Fix error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
#!/bin/bash
# https://github.com/scrapy/scrapy/issues/2115
sudo apt-get install python3 python-dev python3-dev \
build-essential libssl-dev libffi-dev \
libxml2-dev libxslt1-dev zlib1g-dev \
python-pip
@primozkocevar
Copy link

It was very helpful thank you!

@Tiger-zzZ
Copy link

All dependency packages is already installed on my ubuntu 1804,but when i use pip install murmur,it has error occurred error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

@NazmusShakib
Copy link

install
$sudo apt-get install python3.x-dev
based on your python version.

@benjaminvanrenterghem
Copy link

Thanks

@07carvalho
Copy link

install
$sudo apt-get install python3.x-dev
based on your python version.

Thanks!

@lerndeep
Copy link

lerndeep commented Apr 9, 2020

I tried $sudo apt-get install python3.6-dev but still, I am facing the same error. could someone help me to solve?

@cordeiro2020
Copy link

sudo apt-get install python3.x-dev

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment