How can i remove some installed python modules in centos

Posted by user1513613 on Server Fault See other posts from Server Fault or by user1513613
Published on 2013-07-03T03:53:28Z Indexed on 2013/07/03 5:07 UTC
Read the original article Hit count: 541

Filed under:
|
|
|

I am getting ths error

Python 2.7.5 (default, Jul  2 2013, 13:33:13)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "MySQLdb/__init__.py", line 23, in <module>
    (version_info, _mysql.version_info))
ImportError: this is MySQLdb version (1, 2, 4, 'final', 1), but _mysql is version (1, 2, 3, 'final', 0)
>>>

Now i dont know how i have installed that. i treid so many things like yum , pip easy, install etc.

how can i remove all versions of MysqlDB FROM THERE

© Server Fault or respective owner

Related posts about linux

Related posts about python