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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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