DEV Community

Discussion on: How to install Python 3.8 on Ubuntu?

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

Digging through some closed issues I found you need to install python3.8-venv:

sudo apt-get install python3.8-venv
Enter fullscreen mode Exit fullscreen mode

Now this works:

python3.8 -m venv env
Enter fullscreen mode Exit fullscreen mode