Nuke remains of old virtualenv before recreating it
Nuke remains of old virtualenv before recreating it

Otherwise bin/pip install -U pip fails for me with

    Traceback (most recent call last):
      File "bin/pip", line 7, in <module>
        from pip import main
      File "/vagrant/lib/python2.7/site-packages/pip/__init__.py", line 11, in <module>
        from pip.vcs import git, mercurial, subversion, bazaar  # noqa
      File "/vagrant/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 9, in <module>
        from pip.download import path_to_url
      File "/vagrant/lib/python2.7/site-packages/pip/download.py", line 22, in <module>
        from pip._vendor import requests, six
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 58, in <module>
        from . import utils
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
        from .compat import parse_http_list as _parse_list_header
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/compat.py", line 7, in <module>
        from .packages import chardet
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/packages/__init__.py", line 3, in <module>
        from . import urllib3
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py", line 16, in <module>
        from .connectionpool import (
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 33, in <module>
        from .connection import (
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/connection.py", line 41, in <module>
        from .util import (
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py", line 5, in <module>
        from .ssl_ import (
      File "/vagrant/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py", line 4, in <module>
        from ..exceptions import SSLError, InsecurePlatformWarning
    ImportError: cannot import name InsecurePlatformWarning

I suspect Ubuntu patches for pip and virtualenv, maybe something similar
to LP: #1306991, but I haven't tried to get to the bottom of this.

ManoSeimas/manoseimas.lt,ManoSeimas/manoseimas.lt,ManoSeimas/manoseimas.lt,ManoSeimas/manoseimas.lt