Change python version to 3.x

Poetry makes it super easy to work with different Python versions or virtual environments. The recommended way to specify your Python version according to Poetry docs is

poetry env use /path/to/preferred/python/version

You can get the path to your Python version by running
which python3.7
on Linux or
py -0p
on Windows.

Leave a Comment