Story: How it all began.

I am a python programmer, and for a very long time I was getting segmentation fault error on my macbook running mavericks, every time I tried importing any module in shell, so which mean I can code and run the program but if I launch python shell and try to import something may it be sys or os package python will crash with a segmentation fault error.

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'

After lots of research on web and googling, I found many people had faced this issue after updating the Xcode to 5.1 or above mine is 6.1 You can find your Xcode version using pkgutil --pkg-info=com.apple.pkg.CLTools_Executables

To fix the error I added the line export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future"in my~/.bashrcfile 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 :-)

This site contains actual content, written by an actual person. All of this stuff is mine. Even though it may read like it was written by monkeys on typewriters, I actually wrote it. If you want to use my stuff, you can't. At least, not without contacting me first. I also have a privacy policy that I guard fiercely. Any information you provide on this website will not be used by anyone else but me.
Blog, Website Content, VFX Showreel work & Tools & Scripts by Sanjeev Kumar is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

>

Powered by Create your own unique website with customizable templates.