[New-bugs-announce] [issue35872] Creating venv from venv no longer works in 3.7.2

Marc Schlaich report at bugs.python.org
Fri Feb 1 03:49:13 EST 2019


New submission from Marc Schlaich <marc.schlaich at googlemail.com>:

Creating a venv from the python.exe from another venv does not work since 3.7.2 on Windows. This is probably related to the change

    bpo-34977: venv on Windows will now use a python.exe redirector rather than copying the actual binaries from the base environment.

For example running 

    c:\users\$USER\.local\pipx\venvs\pipx-app\scripts\python.exe -m venv C:\Users\$USER\.local\pipx\venvs\tox
    C:\Users\$USER\.local\pipx\venvs\tox\Scripts\python.exe -m pip install --upgrade pip

results in pip installing to venvs\pipx-app and not in venvs\tox. 

Downstream bugreport in pipx is https://github.com/pipxproject/pipx-app/issues/81.

----------
components: Library (Lib), Windows
messages: 334658
nosy: paul.moore, schlamar, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Creating venv from venv no longer works in 3.7.2
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35872>
_______________________________________


More information about the New-bugs-announce mailing list