Hi Skip, On Fri, Jun 28, 2013 at 10:41 PM, Skip Montanaro <skip.montanaro@gmail.com> wrote:
Now, try the same experiment with PyPy. The relative order of those two directories is reversed:
Sorry, I can't reproduce the problem you describe. More importantly I don't understand why '/opt/local/lib/python2.7/site-packages' ends up in sys.path at all on top of pypy. There is no reason to: pypy has no notion of '.../lib/python2.7', and certainly ending up with the same path as CPython looks very wrong to me (like it would be wrong to have CPython 2.6 and 2.7 both use '/opt/local/lib/python2.7/site-packages'). It's a custom-compiled pypy, so did you install it using the official script pypy/tool/release/package.py? If not, please give the paths where you copied things, starting with the pypy executable. Note that pypy is *not* supposed to be installed exactly like CPython. A bientôt, Armin.