python@3.10 #2944
Unanswered
luckman212
asked this question in
Everyday usage
python@3.10
#2944
Replies: 1 comment
-
Prepend the path or use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After reading Python 3.9.x & 3.10.x #91421 and python@3.10: migrate aliases - PR #87075 I find myself still scratching my head on the best way to have my scripts make use of Python 3.10 today.
Should I ...
/opt/homebrew/opt/python@3.10/bin
to the front ofPATH
?/usr/local/bin/python310
to/opt/homebrew/opt/python@3.10/bin/python3
?#!/usr/local/bin/python310
?virtualenv
s for everything?For now I've settled on the custom shebang + symlink, seems the least prone to causing side-effects but curious what others are doing. I mainly want to use 3.10 to be able to use the new Structural Pattern Matching aka
match...case
statements.Beta Was this translation helpful? Give feedback.
All reactions