Skip to content
Discussion options

You must be logged in to vote

Poetry has always used the Python interpreter that is currently executing its Python code as the default. When we migrated to the new install layout (with the new install.python-poetry.org installer) to deprecate our idiosyncratic and difficult to maintain custom packaging (in favor of wheels) and support plugins/Keyring providers, we also introduced a new setting, virtualenvs.prefer-active-python.

It's experimental and there are some known edge cases @finswimmer is working on solving, but it should largely do what you want (find python in the PATH instead of using sys.executable).

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@david-vicente
Comment options

@neersighted
Comment options

@david-vicente
Comment options

@finswimmer
Comment options

@david-vicente
Comment options

Answer selected by david-vicente
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants