Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

error: command 'gcc' failed with exit status 1 while installing mysqlclient

I am trying to install mysqlclient in OSX 10.7 but I get this compiler error from gcc no matter what I try. I am using Python3.6 to run the setup.py script for mysqlclient.
Pranav Krishnan's user avatar
1 vote
2 answers
2k views

error installing MySQL-python on RHEL 6

I have tried yum install MYSQL-python, pip install MySQL-python and easy_install MySQL-python. Get this error: error: command 'gcc' failed with exit status 1 Cleaning up... Command /usr/local/bin/...
jxn's user avatar
  • 8,065
11 votes
3 answers
11k views

pip raises stdio.h not found error on Mac OS X Mavericks (10.9)

I have tried countless solutions at this point and nothing seems to work. I'm trying to install mysql-python, but this happens with numpy and other packages requiring gcc as well: building '_mysql' ...
beans's user avatar
  • 364
1 vote
0 answers
2k views

error: command 'gcc' failed with exit status 1-centos

I am trying to install Mysql-python connector for mysql.I am facing this error"error: command 'gcc' failed with exit status 1" I tried with installation of 1.gcc using yum install gcc 2.python-devel ...
siva's user avatar
  • 1,471
9 votes
4 answers
11k views

GCC-4.2 error on Mac OSX Mountain Lion, unable to install mysql-python

I'm having trouble building MySQLdb on Mac OSX Mountain Lion. After upgrading to OSX Mountain Lion from OSX Lion, I have downloaded and installed Xcode 4.4 also. Then, I went to Preference > Downloads ...
taelimoh's user avatar
  • 991
4 votes
1 answer
5k views

MySQL-python, error: command 'gcc-4.2' failed with exit status 1

I've been looking around for a solution to this, and there seem to be a lot of different solutions, but none seem to be working. I'm using MySQL-Python to try to get MySQL set up with python. But, ...
varatis's user avatar
  • 14.8k
0 votes
2 answers
3k views

GCC error when installing MySQL_python 1.2.2 (Mac OS 10.6 Snow Leopard)

I'm trying to install MySQL_python 1.2.2 (I specifically need this version, not the current 1.2.3) on Snow Leopard, and getting this error below. Command to install: pip install -Iv http://...
Joe's user avatar
  • 27.1k