You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sujit22993 edited this page Mar 7, 2021
·
3 revisions
Setup and install brew
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
In case python2 is already installed, you need to install pip2 to install relevant libraries
$ curl https://bootstrap.pypa.io/2.7/get-pip.py -o get-pip.py && python get-pip.py
Edit your ~/.bash_profile file by adding this line:
$ export PATH="/Users/user1/Library/Python/2.7/bin:$PATH"
Next, on the command line, source the file:
$ source ~/.bash_profile
Your python basic setup is done, Check using $python2 -V & $ pip -V