installing mysqldb module in python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dragrid
    New Member
    • Jan 2009
    • 29

    installing mysqldb module in python

    Hi all
    Can anyone please help

    I am trying to install mysqldb module in python to interface with mysql on my desktop but I cannot find a clear instructions to do so
    I downloaded sourceforge.net paackage for mysqldb and try to run setup.py install and i get cannot find or do not have setuptools module
    Can anyone tell me how to do or wher to find straight forward easy install instructions
    I have mysql 5.1 and py 2.6.1

    Thanks

    Dragrid
  • kaarthikeyapreyan
    New Member
    • Apr 2007
    • 106

    #2
    could you input the actual error ?

    Originally posted by dragrid
    I downloaded sourceforge.net paackage for mysqldb and try to run setup.py install and i get cannot find or do not have setuptools module
    If setuptools is the problem you could get it from here
    BTW what is the operating system that you are using ?

    Comment

    • dragrid
      New Member
      • Jan 2009
      • 29

      #3
      thanks Kaarthikeyaprey an
      I ran the ez_setup.py an it seems to install the setup tools and got me by that hitch - However now I am getting - serverkey= _winreg.OpenKey (_winreg.HKEY_L ocal_Machine, options['registry_key']) .... a windowserror message [error2] the system cannot find the specified file appears to happen during the execution of the setup_windows.p y script which seems to be kicked off by the ez_setup.py script .... any idea how to fix this and hopefully no more problems

      Thanks in advance

      Comment

      • dragrid
        New Member
        • Jan 2009
        • 29

        #4
        I am running windows vista business

        Comment

        Working...