Menu

Install Problem (Newbie)

Help
Highlander
2005-07-22
2012-09-19
  • Highlander

    Highlander - 2005-07-22

    Hello,

    i've got a -maybe only little - problem during installation.

    MySQL 3.23.48
    Python 2.2 (#1, May 14 2002, 18:23:13)
    [GCC 2.95.3 20010315 (SuSE)] on linux2

    Trying to install MySQLdb 1.2.1c (also with 1.2.0)
    i get the following Message :

    Traceback (most recent call last):
    File "setup.py", line 34, in ?
    mysqlstatic = eval(os.getenv('mysqlstatic', 'False'))
    File "<string>", line 0, in ?
    NameError: name 'False' is not defined

    earlier Versions i can't install cause following file:
    usr/lib/python2.2/config/Makefile

    I would really know what is the reason for the first error.
    Every help is welcome.

    greetings

    Bjoern

     
    • Andy Dustman

      Andy Dustman - 2005-07-22

      This is why I say Python-2.3 or newer is required.

      You can work around this by adding this to the beginning of setup.py:

      True = 1
      False = 0

       
    • Highlander

      Highlander - 2005-07-26

      Next Error i cant solve:

      when I do : python setup.py build
      I get an exception :

      (.. list of Lines on which way the error occured)
      distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory)

      It's right there isn't such a directory (config) What can i do (if i can do anything?)

      Bjoern

       

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.