Sunday, May 15, 2022

[FIXED] How to use Python3.10 on Ubuntu?

Issue

I have installed Python 3.10 from deadsnakes on my Ubuntu 20.04 machine.

How to use it? python3 --version returns Python 3.8.10 and python3.10 -m venv venv returns error (I've installed python3-venv as well).


Solution

python3.10 --version will work.

python3-venv is for 3.8, so install python3.10-venv. For reference: deadsnakes packages for 3.10 for Focal.



Answered By - wjandrea
Answer Checked By - Mildred Charles (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.