you root?
carlan@carlan-Inspiron-3501:$
carlan@carlan-Inspiron-3501:$ python3 --version
Python 3.8.10
carlan@carlan-Inspiron-3501:~$ python3 -m venv ./venv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt install python3.8-venv
You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.
Failing command: ['/home/carlan/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
carlan@carlan-Inspiron-3501:~$ apt install python3.8-venv E: Não foi possível abrir arquivo de trava /var/lib/dpkg/lock-frontend - open (13: Permissão negada) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? carlan@carlan-Inspiron-3501: