Nп/п : 41 из 100
 От   : Niktar Lirik                        2:5075/128        27 сен 23 22:52:59
 К    : All                                                   27 сен 23 22:57:01
 Тема : RE: path to python in venv
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<mailman.359.1695844389.23016.python-list@python.org> a7d80a00
@REPLY:
<18ad833a3e3.4b7c7069535736904.1341861085186326507@zoho.com> 5e3638e1
@REPLYADDR Niktar Lirik
<niktarlirik@zohomail.com>
@REPLYTO 2:5075/128 Niktar Lirik
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<mailman.359.1695844389.23016.python-list@python.org>
@RFC-References:
fnKwpp_P8PtKFYVsDOUKBcB-d66qG8_A@mail.gmail.com> <mailman.356.1695840877.23016.python-list@python.org>
<slrnuh8un7.78e.jon+usenet@raven.unequivocal.eu> fug8Mb+hA@mail.gmail.com>
<18ad833a3e3.4b7c7069535736904.1341861085186326507@zoho.com>
@TZUTC: 0300
@TID: FIDOGATE-5.12-ge4e8b94
Hi Larry,
You could just create venv with option `--copies`

For example:
python -m venv --copies .venv


From: Larry Martell via Python-list
Sent: 27 сентября 2023 г. 22:48
To: Jon Ribbens
Cc: python-list@python.org
Subject: Re: path to python in venv

On Wed, Sep 27, 2023 at 12:42 PM Jon Ribbens via Python-list
<python-list@python.org> wrote:
>
> On 2023-09-27, Larry Martell <larry.martell@gmail.com> wrote:
> > I was under the impression that in a venv the python used would be in
> > the venv`s bin dir. But in my venvs I see this in the bin dirs:
> >
> > lrwxrwxrwx 1 larrymartell larrymartell    7 Sep 27 11:21 python -> python3
> > lrwxrwxrwx 1 larrymartell larrymartell   16 Sep 27 11:21 python3 ->
> > /usr/bin/python3
> ...
> > Not sure what this really means, nor how to get python to be in my venv.
>
> WHy do you want python to be "in your venv"?

Isn`t that the entire point of a venv? To have a completely self
contained env? So if someone messes with the system python it will not
break code running in the venv.
-- 
https://mail.python.org/mailman/listinfo/python-list

--- FIDOGATE 5.12-ge4e8b94
 * Origin: usenet.network (2:5075/128)
SEEN-BY: 50/109 301/1 467/888 4500/1 5000/111
5001/100 5005/49 5020/715 830
SEEN-BY: 5020/848 1042 4441 12000 5030/49 1081
5054/8 5061/133 5075/128
SEEN-BY: 5080/102 5083/1 444
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх