homebrew - how to get my mac to use brew's installed python ? -
i think have 2 versions of python on system, correct steps and/or controls version of python system using ? can run python3 , py3 run, bu t should setup in general ?
[jd@mbp ~]$ python --version python 2.7.5 [jd@mbp ~]$ ls /usr/local/cellar/python3/ ./ ../ 3.3.3/ [jd@mbp ~]$
you shall keep python pointing python 2.x install, whereas python3 points python 3.
because there still applications and/or libraries system relying on fact python python2, , may things broken.
in case can't run python3 command line, should make sure you've got /usr/local/bin in echo $path, if not:
export path=$path:/usr/local/bin and can add ~/.bashrc.
if still not have python3 callable command line, should run:
brew link python3 that populate /usr/local/bin python3 installation's scripts, step being done automatically @ brew install python3 (just tested right now).
Comments
Post a Comment