On Sun, Nov 6, 2016 at 9:17 PM, Alec Taylor <alec.tayl...@gmail.com> wrote:
> Running Ubuntu 16.10 with Python 2.7.12+ (default one) and virtualenv
> 15.0.3 (`sudo -H pip install virtualenv`). What am I doing wrong?
>
>     $ virtualenv a && . "$_"/bin/activate && pip --version

I'm pretty sure virtualenv (like venv, about which I'm certain)
creates something that you have to 'source' into your shell, rather
than running in the classic way:

source env/bin/activate

It needs to alter environment variables in your shell, which can't be
done from a separate program.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to