Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Generated bootstrap script's install_pip isn't specific enough #340

Pewpewarrows opened this Issue · 0 comments

1 participant


Steps to reproduce:

  1. Generate a bootstrap script using virtualenv.create_bootstrap_script()
  2. Populate a local directory of python packages to look at, include:
  3. Attempt to create a virtualenv using the bootstrap script generate in step 1 as follows: python ./ENV --never-download --extra-search-dir python_packages/

The install_pip function in the generated bootstrap file will incorrectly pick the other package that begins with "pip-", and treat it as the real pip package to install. Because of this, the real pip is never installed into the virtualenv, and thus the command is unavailable for use.

The regex for finding the package should be more specific, or it should run some sort of test to determine which package is the real pip.

@dstufft dstufft referenced this issue

Rewrite virtualenv #697

0 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.