Re: Help needed - - running into issues with python and its tools

Liste des GroupesRevenir à cl python 
Sujet : Re: Help needed - - running into issues with python and its tools
De : o1bigtenor (at) *nospam* gmail.com (o1bigtenor)
Groupes : comp.lang.python
Date : 05. Aug 2024, 14:48:54
Autres entêtes
Message-ID : <mailman.12.1722862172.2890.python-list@python.org>
References : 1 2 3 4 5 6 7
On Sun, Aug 4, 2024 at 8:49 AM Mats Wichmann via Python-list <
python-list@python.org> wrote:

On 8/3/24 20:03, o1bigtenor via Python-list wrote:
>
My question was, is and will be (and the doc absolutely doesn't cover it)
how do I install a different version in the venv so that python 3.11.x on
the
system is not discombobulated by the python 3.12.x in the venv.
That python 3.12 would let me run the tools needed.
(Its the how to install the next version of python that I just haven't
been
able to find information on - - - and I would be looking for information
on how to install on a *nix.)
>
To get a different Python "in" the venv, you use the version you want in
the construction of the venv. For example:
>
>
$ python3.13 -m venv new_venv
$ new_venv/bin/python --version
Python 3.13.0b4
$ source new_venv/bin/activate
>
>
 "https://peps.python.org/pep-0668/ PEP 668, which prevents pip from
interacting with the OS installed python. This change has been done in red
hat and other distros too . . . "

similarly your first command produces and error code for the same reason.

Sorry - - - not my policy - - -

Regards

Date Sujet#  Auteur
5 Aug 24 o Re: Help needed - - running into issues with python and its tools1o1bigtenor

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal