Ask questionsbrew install httpie will install python too instead of using my existing pyhton
What are the steps to reproduce the problem?
brew install httpiethen brew installed python 3.9 as well and updated my system python3 to that.
Answer questions qiulang
Hi I reproduced the case, please check:
lang@localhost ~ % which python3 /usr/bin/python3 lang@localhost ~ % python3 --version Python 3.8.2 lang@localhost ~ % brew list ==> Formulae autoconf m4 node-build email@example.com pyenv sqlite gdbm mpdecimal nodenv pkg-config readline xz lang@localhost ~ % brew install httpie ... ==> Caveats ==> firstname.lastname@example.org Python has been installed as /usr/local/bin/python3
lang@localhost ~ % python3 --version Python 3.9.2 //I think it is because the PATH setting lang@localhost ~ % echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Related questionsNo questions were found.