Total human electrical usage, per source is about 18.1% of 104 trillion kwh/year, 2012 numbers, 18.9 trillion kwh/year of electricity generated. So even if all the lightning energy was utilized (which would be unlikley for a few reasons), it would be somewhere in the 4%-20% range of our total electrical demand, which isn't bad, but I think that's the answer to your question. There's not enough energy in all the lightning on Earth to supply our electrical demand.
Wikipedia has an article on the logistical difficulties. It's perhaps doable, to some extent, but at best, lightning could provide only a small percentage of our electrical needs, unlike solar panels which could provide, at least in total energy, well in excess of our electrical needs. Solar runs into problems like it's not always on, which is a limiting factor to it's usefulness, but in terms of total energy provided it's much easier and much more abundant than harnessing lightning.