csvkit is works on Python versions 2.6, 2.7, 3.3 and 3.4, as well as PyPy. It is supported on OSX and Linux. It also works–but is tested less frequently–on Windows.
Installation Steps:
-  Open Terminal using Spotlight search by pressing  
<command+space>.
Type terminal and hitEnterkey. -  Now, run 
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null -  Install csvkit using brew
brew instalIcsvkit 
csvkit is ready to use now!