[IPython-dev] test_pr for 3.x picking up 2.x paths
benjaminrk at gmail.com
Sun Jun 3 16:28:37 EDT 2012
Is it possible the venv hardcoded the PYTHONPATH into its site when it created the env?
On Jun 3, 2012, at 1:17 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Sun, Jun 3, 2012 at 6:29 AM, Thomas Kluyver <takowl at gmail.com> 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...
> IPython-dev mailing list
> IPython-dev at scipy.org
More information about the IPython-dev