note> in my usual linux distro (archlinux) i have virtualenv installed
under both py2 and py3, so for creating py2 virtualenv i have an executable
virtualenv2 - convenience of my distro packages.
On Mon, Sep 19, 2016 at 5:39 PM, Paul Moore <p.f.mo...@gmail.com> wrote:
> You should confirm that the python executable in the venv is actually
> Python 2.7, which you can do by running
> ~/env_dir/python -V
> ~/env_dir/python2.7 -V
> (both of those files should exist, and you can run the above without
> activating the virtualenv, as you're specifying the exact path).
> If either of them shows Python 3 as the version, then your
> installation is not working correctly. It may be that Debian has
> somehow patched things in a way that's causing the issue - you say
> "the default Python is Python 3.4.2" - does Debian make that happen by
> some symlink juggling that might be causing issues here? (I know
> almost nothing about how Linux distros patch upstream tools, but we
> have had issues in the past which have ended up being related to
> patches applied on Debian).
> You received this message because you are subscribed to the Google Groups
> "virtualenv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python-virtualenv+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at https://groups.google.com/group/python-virtualenv.
> For more options, visit https://groups.google.com/d/optout.
mob: +420 605 852 377
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/python-virtualenv.
For more options, visit https://groups.google.com/d/optout.