I'm trying to create venv using "python3 -m venv venv" remotely. However, it fails:
> ssh sv3-01 "python3 -m venv venv"
Error: Command '['/home/ubuntu/venv/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
FYI:
- ssh config has sv3-01 configuration set correctly and working
 - ssh sv3-01 "ls -lah" works fine returning usual ls file list from the sv3-01 remote server
 - Executing "python3 -m venv venv" directly on the sv3-01 server works absolutely fine. Python3-dev and python3-venv are installed successfully on the server already.
 
What do I do wrong?