Nп/п : 49 из 100
 От   : Peter J. Holzer                     2:5075/128        28 сен 23 00:51:45
 К    : All                                                   28 сен 23 02:00:01
 Тема : Re: path to python in venv
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<mailman.365.1695855475.23016.python-list@python.org> 86fbfb16
@REPLY: <20230927225145.fq7x57fithelvx4k@hjp.at>
4cb13e98
@REPLYADDR Peter J. Holzer <hjp-python@hjp.at>
@REPLYTO 2:5075/128 Peter J. Holzer
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<mailman.365.1695855475.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>
<mailman.358.1695844007.23016.python-list@python.org> <slrnuh94ap.78e.jon+usenet@raven.unequivocal.eu>
<20230927225145.fq7x57fithelvx4k@hjp.at>
@RFC-MIME-Version: 1.0
@RFC-Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="byv7avqenyxxavyz"
@RFC-Content-Transfer-Encoding: 8bit
@TZUTC: 0200
@TID: FIDOGATE-5.12-ge4e8b94
On 2023-09-27 20:32:25 -0000, Jon Ribbens via Python-list wrote:
> On 2023-09-27, Larry Martell <larry.martell@gmail.com> wrote:
 > > 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:
 > >> > lrwxrwxrwx 1 larrymartell larrymartell 7 Sep 27 11:21 python
-> python3
 > >> > lrwxrwxrwx 1 larrymartell larrymartell 16 Sep 27 11:21
python3 -> /usr/bin/python3
[...]
> I`m a bit surprised your symlinks are as shown above though - mine
> link from python to python3.11 to /usr/bin/python3.11, so it wouldn`t
> change the version of python used even if I installed a different
> system python version.

That`s probably because you created the venvs with "python3.11 -m venv ...".
The symlink points to the command you used to create it:

% python3 -m venv venv
% ll venv/bin/python*
lrwxrwxrwx 1 hjp hjp  7 Aug 29  2022 venv/bin/python -> python3*
lrwxrwxrwx 1 hjp hjp 12 Aug 29  2022 venv/bin/python3 -> /bin/python3*
lrwxrwxrwx 1 hjp hjp  7 Aug 29  2022 venv/bin/python3.10 -> python3*

% python3.10 -m venv venv
% ll venv/bin/python*
lrwxrwxrwx 1 hjp hjp 10 Sep 28 00:45 venv/bin/python -> python3.10*
lrwxrwxrwx 1 hjp hjp 10 Sep 28 00:45 venv/bin/python3 -> python3.10*
lrwxrwxrwx 1 hjp hjp 15 Sep 28 00:45 venv/bin/python3.10 -> /bin/python3.10*

        hp

-- 
      | Peter J. Holzer    | Story must make more sense than reality.
| | ) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
  /   | http://www.hjp.at/ |       challenge!"

--- 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    
                                                                                
В этой области больше нет сообщений.

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