Install poetry venv with specific version of python

March 1, 2022

  • poetry will always run inside a virtual environment
    • if one already exists, it will use that environment, otherwise it will create a new one
  • poetry will try use the currently activated version of python, otherwise it will try to find a version that is compatible
  • link
poetry env use $(py -3.8 -c 'import sys; print(sys.executable)')