I got the error:
error: command 'gcc' failed with exit status 1
while I was trying to install mysql-python.
While this problem almost make my hair white, I found this easy solution:
In terminal:
sudo apt-get install python-dev
And thats it,
That's work for me...
Thanks,
Sakib
Monday, May 31, 2010
Subscribe to:
Post Comments (Atom)
Thanks for this explanation, I had the same error while installing psycopg2 (Postgresql driver) on Ubuntu 8.04 and installing python-dev also helped in this case.
ReplyDeleteFranck Theeten
Hey thanks guys, this is exactly what I was looking for. :)
ReplyDeleteThanks a lot.... you are a true savior.
ReplyDeleteThank you for this. I was installing DrqueueIPython and got this error
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks! Very helpfull !
ReplyDeleteThanks dear...
ReplyDeletethis problem for is still exist :| what can i do?
ReplyDelete