[Python-Dev] Windows Python totally hosed

Tim Peters tim.one@home.com
2001年1月17日 15:51:57 -0500


Failures range from
test test_winsound skipped -- Module use of python20.dll
 conflicts with this version of Python.
to
test test_tokenize crashed -- exceptions.AttributeError: 're' module
 has no attribute 'compile'
I suspect the latter is really a disguised version of
C:\Code\python\dist\src\PCbuild>python
Python 2.1a1 (#8, Jan 17 2001, 13:15:23) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> import re
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "c:\code\python\dist\src\lib\re.py", line 28, in ?
 from sre import *
 File "c:\code\python\dist\src\lib\sre.py", line 17, in ?
 import sre_compile
 File "c:\code\python\dist\src\lib\sre_compile.py", line 11, in ?
 import _sre
ImportError: Module use of python20.dll conflicts with this version of
Python.
>>>
Suspect all of this has to do with patchlevel.h changing. I'll try to dope
it out, but if anyone knows the cure off the top of their head, don't be
shy!

AltStyle によって変換されたページ (->オリジナル) /