Skip to content

How can I control which interpreter hatch uses? #864

Closed Answered by jamiekt
jamiekt asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question... use HATCH_PYTHON to specify the python interpreter for the hatch environment

export HATCH_PYTHON=~/.pyenv/versions/3.10.10/bin/python    
➜  hatch run python --version
Python 3.10.10

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jamiekt
Comment options

Answer selected by jamiekt
Comment options

ofek
Oct 28, 2023
Maintainer Sponsor

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
2 participants