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).
Advertisement
Answer
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.