If we have a look at solar influx maps, or just have general geography knowledge, it's pretty obvious that Northern Africa has enormous available areas that can be used for large scale solar plants. And lots of them at that. They can use solar towers for nighttime generation, and large areas filled with solar panels for daytime peak generation.
North Africa can, by investing on their own, become entirely energy independent. If they buy up some of the Chinese panel overproduction, and then generate their own expertise in installing large solar parks, they can easily supply domestic needs - and with cables, they can sell a heck of a lot of energy to an energy hungry Europe.
This again can be supplemented in both Europe and Northern Africa with grid scale battery storage, for nighttime usage. Northern Africa should of course invest in solar towers too - to ensure nighttime generation is also existent.
There's more than enough available space. The enormous untapped solar energy resources can be used for both export and for large domstic benefits such as water desalination etc.