

Rayyans-Air:~ rayyanahmed$ brew link /usr/local/Cellar/ Could not symlink bin/2to3Īlready exists. Rayyans-Air:~ rayyanahmed$ python -version Hey Irfan, Installed homebrew and did all the steps but it still says that the version is 2.7. Why doesn't it change to python 3? Like comment: Like comment: 1 like Comment button Reply Collapse Expand (base) Carolines-MBP:~ carolinekibat$ sudo ln -s -f /usr/local/bin/python3.8 /usr/local/bin/python (base) Carolines-MBP:~ carolinekibat$ which pip Requirement already up-to-date: pip in /Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages (20.1.1)
#Python for mac anaconda 2.7 install#
(base) Carolines-MBP:~ carolinekibat$ pip3 install -upgrade pip Pip 20.1.1 from /Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8) (base) Carolines-MBP:~ carolinekibat$ pip3 -version (base) Carolines-MBP:~ carolinekibat$ python -version Ln: /usr/local/bin/python: Permission denied (base) Carolines-MBP:~ carolinekibat$ ln -s -f /usr/local/bin/python3.8 /usr/local/bin/python (base) Carolines-MBP:~ carolinekibat$ ls -1 /usr/local/bin/python* Please help! Like comment: Like comment: 1 like Comment button Reply Collapse Expand

Last login: Thu Apr 16 18:09:08 on ~ % python -version Library/Frameworks/amework/Versions/3.8/bin/pip Although this method worked but will that path create any problem later on? but I don't know how the path is different. Moreover, I tried following tedro's method above in the comment section. Pip 19.2.3 from /Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8) Like comment: Like comment: 1 like Comment button Reply Collapse Expand

Lrwxr-xr-x 1 root wheel 78 Mar 30 04:37 /usr/local/bin/python3.8-config -> ~ % ln -s -f /usr/local/bin/python3.7 ~ % python -version /./Library/Frameworks/amework/Versions/3.8/bin/python3.8 Lrwxr-xr-x 1 apoorveesinha admin 44 Mar 30 04:55 /usr/local/bin/python3.7m-config ->. Lrwxr-xr-x 1 apoorveesinha admin 37 Mar 30 04:55 /usr/local/bin/python3.7m ->. Lrwxr-xr-x 1 apoorveesinha admin 43 Mar 30 04:55 /usr/local/bin/python3.7-config ->. Lrwxr-xr-x 1 apoorveesinha admin 36 Mar 30 04:55 /usr/local/bin/python3.7 ->. Lrwxr-xr-x 1 apoorveesinha admin 41 Mar 30 04:55 /usr/local/bin/python3-config ->. Lrwxr-xr-x 1 apoorveesinha admin 34 Mar 30 04:55 /usr/local/bin/python3 ->. Lrwxr-xr-x 1 apoorveesinha admin 24 Mar 30 04:57 /usr/local/bin/python -> /usr/local/bin/python3.7 I have followed all the steps but python -version gives Python 2.7.16 as output. Please help! Like comment: Like comment: 2 likes Comment button Reply Collapse Expand Successfully installed ~ % which ~ % which ~ % sudo ln -s -f /usr/local/bin/python3.8 ~ % (1.4MB)Installing collected packages: pip Pip 19.2.3 from /Library/Frameworks/amework/Versions/3.8/lib/python3.8/site-packages/pip (python ~ % pip3 install -upgrade pipĭownloading /packages/54. Hey! I tried following your above-mentioned method.
