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
Sunday, May 30, 2010
In Ubuntu the error: EnvironmentError: mysql_config not found :- Solved
I was trying to install mysql-python. But the it gives me a error like this:
EnvironmentError: mysql_config not found
Then I have tried to install the mysql client and try to install mysql-python again, the result is same.
After searching a lot, I have found a solution. Then I have followed the following steps:
in terminal:
And its works for me!!!!
Thanks
Sakib
EnvironmentError: mysql_config not found
Then I have tried to install the mysql client and try to install mysql-python again, the result is same.
After searching a lot, I have found a solution. Then I have followed the following steps:
in terminal:
sudo apt-get install libmysqlclient15-dev
sudo easy_install MySQL_python-1.2.3c1-py2.5-linux-i686.egg
And its works for me!!!!
Thanks
Sakib
Subscribe to:
Posts (Atom)