I installed python3-virtualenv on Lubuntu 15.1 using the official Ubuntu package apt-get install python3-virtualenv. The official documentation indicates that a simple virtualenv . in my project directory should be enough to create the venv. This does nothing, because which virtualenv does nothing. (Nothing from which python-virtualenv and which python3-virtualenv also).
The package information, once installed, says that it installed /usr/lib/python3/dist-packages/virtualenv.py, so I invoke this under python3. It gives me this:
$ python3 /usr/lib/python3/dist-packages/virtualenv.py .
Running virtualenv with interpreter /usr/bin/python2
New python executable in ./bin/python2
Also creating executable in ./bin/python
Installing setuptools, pip...done.
Yep, when I look, everything in ./bin is python2. Is ubuntu's python3-virtualenv a dummy package for python2?
The official python documentation says use a different package: python3-venv. This seems to work when I pyvenv ., with python3 stuff in the ./bin directory.
How can I successfully create a Python 3 virtualenv?