Error:command ' X86_64-LINUX-GNU-GCC ' failed with exit status 1

Source: Internet
Author: User

Reprinted from:

In the ubuntu14.04 version of the installation of lxml, always error, after a hard search, finally found out the correct method of installation, in fact, is not dependent on packaging full:

sudo apt-get install Libxml2-dev libxslt1-dev Python-dev
sudo apt-get install Zlib1g-dev
sudo apt-get install Libevent-dev
sudo pip install lxml

Halfway through Pip install lxml may encounter an incorrect recognition situation and need to apt-get update to continue

Reference URL:



The following are the previous references and may also be installed successfully

sudo apt-get install Python-twisted-web Python2.7-dev

Install PIP:

$ wget$ sudo python install

The following error occurred when using PIP to install/upgrade lxml (up to 3.3.5):

"Error:command ' X86_64-LINUX-GNU-GCC ' failed with exit status 1"

This is because some dependent packages are not installed, and you can update the dependent packages with the following command:

$sudo Apt-get BUILD-DEP Python-lxml

After the dependency package has been updated, perform the PIP installation again:

$ sudo pip install lxml--upgrade

Error:command ' X86_64-LINUX-GNU-GCC ' failed with exit status 1

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.