Sujet : Re: Help needed - - running into issues with python and its tools
De : mats (at) *nospam* wichmann.us (Mats Wichmann)
Groupes : comp.lang.pythonDate : 04. Aug 2024, 15:47:19
Autres entêtes
Message-ID : <mailman.10.1722779254.2890.python-list@python.org>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
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
...