What I did: - set interpreter_constaraints to &gt...
# general
e
What I did: • set interpreter_constaraints to >=3.9 • have python3.9 on path, from brew yet the message complains about 3.8, and from /Frameworks. Weird.
c
I think using the system Python on Mac may give wonky results. Consider installing
pyenv
and install a Python version that way, and use
<PYENV>
in pants.toml for the interpreter search path. Or using a Python provided by
brew
should work well too…
1
e
Thanks Andreas. I suppose I should have written, but I'm using python3.9 from brew. It IS the first thing on the path.
Well, to be clear:
Copy code
~/proj/calius_repo $ which python3
/opt/homebrew/bin/python3
nitzans-macbook-pro [master ?m]
~/proj/calius_repo $ which python3.9
/opt/homebrew/bin/python3.9
... but: ``````
Copy code
~/proj/calius_repo $ which python
Copy code
/usr/bin/python
c
Ah, ok. It is the :
Copy code
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8
that made me suspicious…
e
I agree! I am suspicious as well. That's why the questions. But I did do those things...
c
so it looks like it picks that Python despite your other Pythons available… unless I’m mistaken.
e
Copy code
~ $ which python3.8
nitzans-macbook-pro
so I don't even have python3.8 on the path.
c
Right.. I’ll defer this further to the more experienced Pants maintainers, see if they can figure this out with your help. They usually becomes active around this time of day..
e
🙏