MacBook-Pro-3:~ kaushal$ sudo pip install --upgrade Fabric
The directory '/Users/kaushal/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/kaushal/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: Fabric in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already up-to-date: paramiko>=1.10 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from Fabric)
Requirement already up-to-date: ecdsa>=0.11 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from paramiko>=1.10->Fabric)
Requirement already up-to-date: pycrypto!=2.4,>=2.1 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from paramiko>=1.10->Fabric)
MacBook-Pro-3:~ kaushal$ fab -V
Fabric 1.10.1
Paramiko 1.15.2
MacBook-Pro-3:~ kaushal$