[New-bugs-announce] [issue39633] venv does not include python<major>.<minor> symlink by default

Lysandros Nikolaou report at bugs.python.org
Fri Feb 14 09:06:58 EST 2020


New submission from Lysandros Nikolaou <lisandrosnik at gmail.com>:

At the moment running python -m venv venv or python3 -m venv venv creates a virtual environment that does not contain a python<major>.<minor> symlink, which results in executing whatever the default python is when running i.e. python<major>.<minor> within an activated virtual env. OTOH if one runs python<major>.<minor> -m venv venv, then everything is OK. Would it be possible to include a python<major>.<minor> symlink in all cases? If not, then I think we should update the docs to mention that somewhere, since it took me quite a while to figure this out.

----------
components: Library (Lib)
messages: 361993
nosy: lys.nikolaou
priority: normal
severity: normal
status: open
title: venv does not include python<major>.<minor> symlink by default
versions: Python 3.9

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


More information about the New-bugs-announce mailing list