Story: How it all began.
So recently I decided to do a new clean install of python by completely removing the old python2.7 installation. Then following instruction from this page But I didn't had Xcode installed and not even command line tools for OSx mavericks. So I installed command line tools then installed python followed by virtualenv. This did fixed the segmentation fault error but thats where things got f**ked up !!! while I was removing python from my system I forgot that I am also learning in kivy and removed kivy too while removing python. And now after so many days I thought to some coding in kivy realised I don't have it. All this time I had installed fish shell when I first got the error I had first doubt on fish shell but that wasn't it, So now when I tried installing kivy using pip or easy_install i kept on getting error: clang: error: unknown argument: '-mno-fused-madd'
groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Thread model: posix
in my ~/.bashrc file and restarted the shell, went to location where I had cloned the kivy from github and ran python setup.py install and now the above error appeared as warning and installation worked. So far so good everything is working now. I now have segregated every project using virtualenv as well as also took away doubt from fish shell :-)