close

[Solved] setup script exited with : command ‘x86_64-linux-gnu-gcc’ failed with exit status 1

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error setup script exited with : command ‘x86_64-linux-gnu-gcc’ failed with exit status 1 in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How setup script exited with : command ‘x86_64-linux-gnu-gcc’ failed with exit status 1 Error Occurs?

Today I get the following error setup script exited with : command ‘x86_64-linux-gnu-gcc’ failed with exit status 1 in python.

How To Solve setup script exited with : command ‘x86_64-linux-gnu-gcc’ failed with exit status 1 Error ?

  1. How To Solve setup script exited with : command 'x86_64-linux-gnu-gcc' failed with exit status 1 Error ?

    To Solve setup script exited with : command 'x86_64-linux-gnu-gcc' failed with exit status 1 Error I encountered the same problem in college having installed Linux Mint for the main project of my final year, the third solution below worked for me.

  2. setup script exited with : command 'x86_64-linux-gnu-gcc' failed with exit status 1

    To Solve setup script exited with : command 'x86_64-linux-gnu-gcc' failed with exit status 1 Error I encountered the same problem in college having installed Linux Mint for the main project of my final year, the third solution below worked for me.

Solution 1

Try installing these packages.

sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-pil python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libssl-dev

sudo easy_install greenlet

sudo easy_install gevent

Solution 2


I encountered the same problem in college having installed Linux Mint for the main project of my final year, the third solution below worked for me.

When encountering this error please note before the error it may say you are missing a package or header file — you should find those and install them and verify if it works (e.g. ssl → libssl).

For Python 2.x use:

sudo apt-get install python-dev

For Python 2.7 use:

sudo apt-get install libffi-dev

For Python 3.x use:

sudo apt-get install python3-dev

or for a specific version of Python 3, replace x with the minor version in

sudo apt-get install python3.x-dev

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read