I tried installing both the latest version(v 0.6) and the original one. I downloaded the zip file and then clicked on the install addon from file button. Turns out it does not show in the addons list at all. I don't know whats the error. A few days ago there was some kind of numpy error in Animation nodes as well. To fix that, I uninstalled and then reinstalled Blender. When I tried installing BLAM, it still does not work. Any help is appreciated.
Thanks everyone for the help. Apparently it was not BLAM which had the problem. The problem was with the version of Blender 2.79 that I was using. Apparently it had a lot of bugs that I would keep run into which the previous versions did not have. I downloaded the recent Blender 2.79a (release candidate) which worked for me.
With some plugins, you just need to update the header info.
So unzip it, edit blam.py:line 26
'blender': (2, 6, 2),
change it to read
'blender': (2, 7, 9),
then in Blender: File > User Prefs > Install from file > blam.py
I haven't tried it, so I can't guarantee your results,
but I believe this'll get you there.
Otherwise, file a bug report at the github page https://github.com/stuffmatic/blam