A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/087518.html below:

python2.1: "SRE module mismatch"

python2.1: "SRE module mismatch" python2.1: "SRE module mismatch"Fredrik Lundh fredrik 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 (possible
culprits in this case are _sremodule.so or sre_constants.py)

Cheers /F



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4