[IPython-dev] test_pr for 3.x picking up 2.x paths
Sun Jun 3 15:17:52 CDT 2012
On Sun, Jun 3, 2012 at 6:29 AM, Thomas Kluyver <firstname.lastname@example.org> wrote:
> No flash of inspiration, sorry. I haven't seen that myself. If you
> check /home/fperez/.ipy_pr_tests/venv-python3.2/bin/iptest3 , does it
> have the correct shebang (should be pointing to a python executable in
> the same folder)?
It does, and it's indeed a python3 binary. At least now I see the
culprit. If I wipe out PYTHONPATH and start that python, here's the
sys.path it sees:
That '/usr/lib/pymodules/python2.7' in the middle is what's messing
things up. I wonder what in this Ubuntu box is setting that
variable... It's not anything in my personal environment, b/c that's
all just PYTHONPATH. It's as if a system-wide config file is getting
picked up somewhere...
More information about the IPython-dev