On 20 Feb 2006, at 15:08, Sebastien Maret wrote:
Kevin Horton <[EMAIL PROTECTED]> writes:
I'm just starting to learn python, and decided to try out pydoc.py.
This seems to work OK with python23, but it fails if I use the
one in
/sw/lib/python2.4
/sw/lib/python2.4 % pydoc.py
Traceback (most recent call last):
File "pydoc.py", line 54, in ?
import sys, imp, os, re, types, inspect, __builtin__
File "/Volumes/fink/sw/lib/python2.4/re.py", line 5, in ?
from sre import *
File "/Volumes/fink/sw/lib/python2.4/sre.py", line 97, in ?
import sre_compile
File "/Volumes/fink/sw/lib/python2.4/sre_compile.py", line 17,
in ?
assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
Do you have a /sw symlink that points on /Volumes/fink/sw ?
Yes, I do. Jeff Whitaker pointed out off-list that I should call
pydoc via /sw/bin/pydoc2.4, rather than digging into /sw/lib/
python2.4. It all works just fine if I do that. So, there is no
problem, just a lack of understanding on my part.
Thanks for trying to help.
Kevin Horton
Ottawa, Canada
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users