title: Ubuntu 18.04 Command 'pyenv' not found, did you mean:
body: <p>So here is my Ubuntu version:</p>
  <pre><code>No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 18.04.2 LTS
  Release:        18.04
  Codename:       bionic
  </code></pre>
  <p>I'm trying to run the following command: <code>pyenv install 3.6.2</code> but i get the error:</p>
  <pre><code>Command 'pyenv' not found, did you mean:
    command 'pyvenv' from deb python3-venv
    command 'p7env' from deb libnss3-tools 
  </code></pre>
  <p>I've searched and this post (<a href="https://stackoverflow.com/questions/29954984/ubuntu-14-04-python-3-4-pyenv-command-not-found">Ubuntu 14.04 - Python 3.4 - pyenv: command Not Found</a>) states Ubuntu 14.04 and below use Python 2 be default so one has to use <code>virtualenv</code> instead, but why does my 18.04 Ubuntu not recognize the command?</p>