Problem with MySQL-python-0.3.5 build...
kasper37 at caffeinedreams.com
kasper37 at caffeinedreams.com
Thu May 24 17:23:35 EDT 2001
I first had a problem that I couldn't import anything because my
PYTHONPATH was wrong. I fixed that, but when I try a python setup.py
build I get this response now:
[root at bertha MySQL-python-0.3.5]# python setup.py build
'import site' failed; use -v for traceback
Traceback (innermost last):
File "setup.py", line 5, in ?
import os, sys
File "/usr/local/lib/python/os.py", line 37
return [n for n in dir(module) if n[0] != '_']
^
SyntaxError: invalid syntax
[root at bertha MySQL-python-0.3.5]#
I don't know where to start trying to debug this problem so any help
would be appreciated...
Dan
More information about the Python-list
mailing list