Menu

RPM Not working -- PLEASE Help.

Help
2002-05-07
2012-09-19
  • Chris Bruce

    Chris Bruce - 2002-05-07

    I have installed the RPM for MySQLDa and python can't find the _mysql unless I am actually in the same directory: /usr/lib/python2.1/site-packages

    Here is output from whereis python:
    whereis python
    python: /usr/bin/python1.5 /usr/bin/python /usr/bin/python2.1 /usr/lib/python1.5 /usr/lib/python2.1 /usr/local/bin/python2.1 /usr/local/bin/python /usr/local/lib/python2.1 /usr/include/python1.5 /usr/include/python2.1

    Not sure if there is some sort of conflict?

     
    • Andy Dustman

      Andy Dustman - 2002-05-07

      Which RPM did you use and what version of Python do you have? From the output, I am guessing you have python-1.5.2 but you downloaded MySQL-python-0.9.1py2 for python2-2.1.1. Although, you might have a version of Python-2.1 installed in /usr/local/lib. You'll probably have to copy the files to the right location for your setup.

       
    • Chris Bruce

      Chris Bruce - 2002-05-07

      I actually figured it out.  I had two lib directories for Python 2.1 (/usr/lib/python2.1 and /usr/local/lib/python2.1).  Once I got rid of the bad one, all works now.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.