Setup Script Exited with Error: Command 'X86_64-Linux-Gnu-Gcc' Failed with Exit Status 1

setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 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

setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 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

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 and ERROR: Failed building wheel for mysqlclient

Based on the two first lines, you're missing the libssl-dev system package; try apt-get install -y libssl-dev in your dockerfile.

You'll also need libmysqlclient-dev, if you haven't added that already.

command 'x86_64-linux-gnu-gcc' failed with exit status 1

I had the same problem.
This one helped me:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

If you are using python3, try to replace python-dev with python3-dev

Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 while Installing PyNaCl

Looks like you are missing CFFI, which also has a couple of dependencies. According to this you need to install a couple of dependencies, probably python-dev and libffi-dev.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 in virtualenv

I installed python2.7-dev via Synaptic Package Manager in Linux Mint 17.

I could then accomplish the following in virtualenv:

pip install pillow
pip install pycrypto

And then I installed libxml2-dev and libxslt1-dev via Synaptic and could accomplish the following:

pip install lxml

I also did this so that the pymongo install didn't have any errors:

pip uninstall pymongo
pip install pymongo # i defined the version i needed ie pip install pymongo==2.6.2

I'm still confused how this fixes the problem, because I thought virtualenv was an isolated environment. Any clarification about this appreciated.

Installing Pillow error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

You are missing Python headers. Install python-dev from your distribution's package manager.

Equally for python 3. Install python3-dev, example:

sudo apt-get install python3-dev


Related Topics



Leave a reply



Submit