title: Can I install a new version of python using only poetry?
body: <h2>Disclaimer</h2>
  <p>I'm new to <code>poetry</code> and I've searched around, but apologies if I've missed something obvious..</p>
  <h1>What I want to do is:</h1>
  <ol>
  <li>specify an arbitrary python version in a poetry project (I don't care how I specify it, but presumably in <code>pyproject.toml</code>)</li>
  <li>run a command (presumably <code>poetry shell</code> or <code>poetry install</code>, maybe in conjunction with <code>poetry env use</code>) that puts me into an environment that uses the python version I specified above (I don't mind if it's a few commands instead of just one)</li>
  </ol>
  <h1>I've already tried:</h1>
  <ul>
  <li><code>poetry env use 3.10</code> (when I don't have python 3.10 installed already)
  <ul>
  <li>This gives me an error: <code>/bin/sh: python3.10: command not found</code></li>
  <li>Notably, I get why this error is showing up, I'd just like to have <code>poetry</code> install python 3.10 in this case</li>
  </ul>
  </li>
  <li><code>poetry env use 3.10</code> (when I'm in a <code>conda</code> env that has python 3.10 installed)
  <ul>
  <li>This works! But... the <code>python</code> executeable is symlinked to the one in the conda env</li>
  <li>Maybe this is fine, but my goal is to use <code>poetry</code> instead of <code>conda</code> so I'd like to avoid relying on <code>conda</code> to install python versions</li>
  </ul>
  </li>
  </ul>
  <h1>What I've seen people do is:</h1>
  <p>Use <code>poetry</code> in conjunction with <code>pyenv</code> (where <code>pyenv</code> is used to install the python version).</p>
  <h1>So, my question is:</h1>
  <p>Is using something like <code>pyenv</code> to install python versions necessary? Is there no way to tell <code>poetry</code> that I want <em>it</em> to install a given python version?</p>
  <p>I've looked through the <code>poetry</code> docs, their GH issues, and some SO posts, but (again) apologies if I'm missing something.</p>
  <h1>Additional Info</h1>
  <ul>
  <li><code>poetry</code> version: 1.1.13</li>
  <li>OS: MacOS (Catalina)</li>
  <li>python version used to install <code>poetry</code> (and therefore the one it seems to default to): 3.7.6</li>
  <li>happy to add anything else relevant :)</li>
  </ul>