dubiose Fehlermeldung
Verfasst: Donnerstag 18. Januar 2007, 13:52
Beim übersetzten eines python modules bekomme ich folgende Fehlermeldung
Ich kann damit überhaupt nichts anfangen, da es sich um einen "fehler" in den python libs handelt:
>pythonw -u "config.py"
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "config.py", line 29, in ?
import ConfigParser
File "C:\Python24\lib\ConfigParser.py", line 90, in ?
import re
File "C:\Python24\lib\re.py", line 5, in ?
from sre import *
File "C:\Python24\lib\sre.py", line 265, in ?
import copy_reg
File "C:\Python24\lib\copy_reg.py", line 7, in ?
from types import ClassType as _ClassType
File "C:\mbus_prog\pyMbus-0.8.7\mbus\types.py", line 37, in ?
import string
File "C:\Python24\lib\string.py", line 124, in ?
class Template:
File "C:\Python24\lib\string.py", line 117, in __init__
pattern = _TemplateMetaclass.pattern % {
AttributeError: 'module' object has no attribute 'escape'
>Exit code: 1
kann mir jemand weiterhelfen?
Ich kann damit überhaupt nichts anfangen, da es sich um einen "fehler" in den python libs handelt:
>pythonw -u "config.py"
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "config.py", line 29, in ?
import ConfigParser
File "C:\Python24\lib\ConfigParser.py", line 90, in ?
import re
File "C:\Python24\lib\re.py", line 5, in ?
from sre import *
File "C:\Python24\lib\sre.py", line 265, in ?
import copy_reg
File "C:\Python24\lib\copy_reg.py", line 7, in ?
from types import ClassType as _ClassType
File "C:\mbus_prog\pyMbus-0.8.7\mbus\types.py", line 37, in ?
import string
File "C:\Python24\lib\string.py", line 124, in ?
class Template:
File "C:\Python24\lib\string.py", line 117, in __init__
pattern = _TemplateMetaclass.pattern % {
AttributeError: 'module' object has no attribute 'escape'
>Exit code: 1
kann mir jemand weiterhelfen?