Movatterモバイル変換
[0]ホーム
python2.1: "SRE module mismatch"
Fredrik Lundhfredrik at pythonware.com
Fri Apr 27 17:19:30 EDT 2001
Francisco wrote:> I compiled python2.1 with Debian (potato) Linux and I`m getting a> problem with sre module. Anything that tries to use sre will end up> like this:> assert _sre.MAGIC == MAGIC, "SRE module mismatch"> AttributeError: MAGIC> any hints on what I can do to solve this?get rid of any old modules you have in your Python path.try this: python -v -c "import sre"and make sure it doesn't pick up any 2.0 modules (possibleculprits in this case are _sremodule.so or sre_constants.py)Cheers /F
More information about the Python-listmailing list
[8]ページ先頭