Update from 3.9 to 3.10.8 and uninstall 3.9

Mike Dewhirst miked at dewhirst.com.au
Sun Oct 23 17:46:49 EDT 2022


On 23/10/2022 9:13 pm, B N wrote:
> I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How do I replace 3.9 with the 3.10.8 I downloaded.
> Kind regards
> JohnGee

It depends on the operating system.

Typically, you can just install the new version and adjust your 
environment vars (ie., path) to point to the new version instead of the old.

The theoretical reason is that you may have other programs/scripts etc 
which still rely on the old version.

If you are new to Python, you should probably avoid installing later 
versions until you have studied virtual environments. A venv will let 
you keep your "system" Python(s) clean and unencumbered while being able 
to experiment with all sorts of additional libraries, packages etc in 
multiple separate sub-environments.

Cheers

Mike

-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://mail.python.org/pipermail/python-list/attachments/20221024/ace06714/attachment.sig>


More information about the Python-list mailing list