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
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
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.
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.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 while doing pip3 install python-geohash
Thanks @William D. Irons. The issue got fixed when I did sudo apt-get install libpython3.7-dev
Related Topics
How to Delete a File or Folder in Python
Environment Variables When Script Run by Cron
What Is the Easiest Way to Detect Key Presses in Python 3 on a Linux MAChine
Making Python Script Accessible System Wide
Maltparser Giving Error in Nltk
How to Run Python Script on Terminal (Ubuntu)
How to Call Wine Dll from Python on Linux
Python Program with Notification in Gnome Shell Doesn't Work
Reading from Linux Command Line with Python
Read File with Timeout in Python
Getting Another Program's Output as Input on the Fly
Python Not Displaying Executable Output Properly
Python Tkinter: Attach Scrollbar to Listbox as Opposed to Window