Thanks @netchampfaris , But i alreeady tried it, I am using CENTOS 7 server
libmysqlclient-dev is not present in it.
pip uninstall mysql-python pip install mysql-python
I already tried this but not working.
I searched my server for libmysqlclient.so.20
I found that my server has libmysqlclient.so.18 only.
What could be wrong.
Should i upgrade mariadb 10.0 to mariadb 10.1 or 10.2 which may fix the problem by giving libmysqlclient.so.20
is this a problem. ERPNext says it needs only mariadb 10.0 only.