Python3.6创建虚拟环境出错:

Error: Command '['/opt/odoo/pgadmin-venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

执行命令:
sudo apt-get install python3.6-venv