[New-bugs-announce] [issue41538] Allow customizing python interpreter in venv.EnvBuilder

Albert Cervin report at bugs.python.org
Thu Aug 13 04:31:21 EDT 2020


New submission from Albert Cervin <albert at acervin.com>:

When creating a virtualenv using venv.EnvBuilder, it always uses sys._base_executable. However, in some embedded cases (Blender being one example), it is not set to a valid Python executable. The proposal is to add a keyword parameter to the EnvBuilder constructor for specifying which python interpreter to use, much like the -p flag in virtualenv.

----------
components: Library (Lib)
messages: 375293
nosy: abbec
priority: normal
severity: normal
status: open
title: Allow customizing python interpreter in venv.EnvBuilder
type: enhancement
versions: Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list