Nп/п : 37 из 100
 От   : Larry Martell                       2:5075/128        27 сен 23 11:53:57
 К    : All                                                   27 сен 23 21:57:01
 Тема : path to python in venv
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<mailman.356.1695840877.23016.python-list@python.org> f2d8af8e
@REPLY:
fnKwpp_P8PtKFYVsDOUKBcB-d66qG8_A@mail.gmail.com> bc08acee
@REPLYADDR Larry Martell
<larry.martell@gmail.com>
@REPLYTO 2:5075/128 Larry Martell
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<mailman.356.1695840877.23016.python-list@python.org>
@RFC-References:
fnKwpp_P8PtKFYVsDOUKBcB-d66qG8_A@mail.gmail.com>
@TZUTC: -0700
@TID: FIDOGATE-5.12-ge4e8b94
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

Googling this I read:

The presence of symbolic links like python and python3 in the bin
directory of your virtual environment pointing to the system Python
executable (/usr/bin/python) suggests that the virtual environment was
created using the system Python interpreter rather than a standalone
Python installation.

This can happen if you create a virtual environment using a
system-wide Python interpreter, and the virtual environment inherits
some of the symbolic links or shortcuts from the system Python
installation. In this case, your virtual environment is not fully
isolated because it still relies on the system Python interpreter.

Not sure what this really means, nor how to get python to be in my venv.
--- 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    
                                                                                
В этой области больше нет сообщений.

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