title: I can't install discord.py on an ubuntu server (digital ocean)
body: <p>I'm following this <a href="https://www.digitalocean.com/community/tutorials/how-to-build-a-discord-bot-in-python-on-ubuntu-20-04" rel="nofollow noreferrer">guide</a> (updated February 2021) to host my bot on Digital Ocean. The point is that when I have to install python3 along with discord.py it gives me this error.</p>
  <pre><code>root@LMIIBot:~# mkdir ~/.venvs
  root@LMIIBot:~# python3 -m venv ~/.venvs/discord
  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-get install python3-venv
  
  You may need to use sudo with that command.  After installing the python3-venv
  package, recreate your virtual environment.
  
  Failing command: ['/root/.venvs/discord/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
  </code></pre>
  <p>in the guide is the <a href="https://www.digitalocean.com/community/tutorials/how-to-build-a-discord-bot-in-python-on-ubuntu-20-04#step-2-%E2%80%94-creating-a-python-virtual-environment-for-your-project" rel="nofollow noreferrer">second step</a>.</p>
  <p>Edit:i did the recommended command but it tells me it is outdated, what should i write?</p>
  <pre><code>root@LMIIBot:~# apt-get install python3-venv
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Package python3-venv is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source
  </code></pre>