The world has e.g. Sahara, barren areas all over Middle East, parts of Central Asia, etc, within or close to the tropical area, and reasonably close to industrial and post-industrial consumers. These place would be perfect to produce solar energy year round, and have little if any competing uses.
But do you think it's the lacking technology that prevents turning vast areas of Syria, Libya, Iraq, Israel, Yemen, Pakistan, or, say, Congo into colossal solar powerhouses? One can name various reasons, but I'd say that they all boil down to the current lack of wisdom in humanity as a species.
Land in the desert is not expensive. If you think this is a wise investment, no one would stop you from doing it yourself and getting rich.
If it were the wise thing to do financially, the Sahara would already be covered in panels.