On 17.10.24 15:56, Tom Lane wrote:
> Florents Tselai <florents.tselai@gmail.com> writes:
>> I think there should be a mention of virtual environments in the plpython
>> docs.
>
> Why? We are not here to teach people how to use Python. More, this
> patch seems like not merely teaching Python, but teaching the use of
> specific Python installation patterns that might or might not apply
> on a particular platform. That's not going to scale.
Virtual environments are a standard part of Python now, so maybe there
is something to this. But personally I don't understand this. Do you
mean for this to select the Python environment that PL/Python is built
against, or do you want to use the virtual environment at run time? The
text says "installing" and talks about package managers. It's unclear
to me at exactly what step this is supposed to apply.