Skip to content

virtualenv's develop branch fails to create virtualenvs with a different Python interpreter #673

@mgedmin

Description

@mgedmin

Steps to reproduce:

  1. git clone -b develop https://github.com/pypa/virtualenv
  2. cd virtualenv
  3. python2.7 virtualenv.py -p python3.4 /tmp/py34

The error is

Running virtualenv with interpreter /usr/bin/python3.4
Using base prefix '/usr'
New python executable in /tmp/py34/bin/python3.4
Also creating executable in /tmp/py34/bin/python
ERROR: The executable /tmp/py34/bin/python3.4 is not functioning
ERROR: It thinks sys.prefix is '/usr' (should be '/tmp/py34')
ERROR: virtualenv is not compatible with this system or executable

I get the same error if I use -p python2.6, or -p python3.3, or -p python3.2, or -p python3.1.

I don't get the error if I use -p python2.7 or -p pypy.

I don't get the error if I switch to the master branch and use -p python3.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions