On 2023-09-27 20:32:25 -0000, Jon Ribbens via Python-list wrote: > On 2023-09-27, Larry Martell <larry.mart...@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.mart...@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. |_|_) | | | | | h...@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!"
signature.asc
Description: PGP signature
-- https://mail.python.org/mailman/listinfo/python-list