-vvv option).$ poetry install -vvvvv
[RuntimeError]
The current Python version (3.7.2) is not supported by the project (3.6.6)
Please activate a compatible Python version.
Exception trace:
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/application.py in run() at line 94
status_code = self.do_run(input_, output_)
/usr/lib/poetry/poetry/console/application.py in do_run() at line 88
return super(Application, self).do_run(i, o)
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/application.py in do_run() at line 197
status_code = command.run(input_, output_)
/usr/lib/poetry/poetry/console/commands/command.py in run() at line 77
return super(BaseCommand, self).run(i, o)
/usr/lib/poetry/poetry/_vendor/py3.7/cleo/commands/base_command.py in run() at line 136
self.initialize(input_, output_)
/usr/lib/poetry/poetry/console/commands/env_command.py in initialize() at line 28
current_python, self.poetry.package.python_versions
install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
Why isn't poetry just fetching a compatible python version, installing it locallz and then installing dependencies instead of forcing me to handle this?
That's not what poetry is for. Use pyenv, pacman, or compile it yourself to install the appropriate python version.
Ok I see, would be quite handy though imho.
Would it be possible to make pyenv available to poetry, so that it finds all available versions and picks the correct one?
Most helpful comment
That's not what poetry is for. Use pyenv, pacman, or compile it yourself to install the appropriate python version.