That’s kind of what we do today for pretty much everything. Most of the population on the planet doesn’t live near oil rigs, refineries, solar farms, power plants or wind. In fact most of the population doesn’t live near where we produce our food or most of the things we need for survival.
EU has enough areas with sparse population and not that much nature which also are south enough to have it work out well with solar panels of the current generations.
And besides that even most EU countries have enough places in them to still put a lot of solar panels without much issues and/or replacing fields.
going as far as North Africa is a bit too far to be convenient for power transport
How does that work out in cost per kWh? Profitable operation anywhere close?
Crisis relief (as suggested by jmward01 here) may be another matter, but setting up the ability to do this on scale, and maintaining it, can't be anything like easy economically.
The Desertec project could have turned a relatively small patch of Libyan desert into a solar farm that could supply all of Europe's electricity except that politics makes it impossible.
the issue is less the transport distances but changes in "from where to where" sometimes needing some extensions/improvements to the power grid. Through commonly in ways which anyway make sense and all pretty much "standard" solutions well understood. Through there are some more complicated exceptions to that.
EDIT: "distances we speak about" assumed less many local less dense populate/suitable spots across the EU, not a mega project like a energy pipeline from North Afrika.
- that village is the exception, not the norm at all
- that village is in a "small" (on agricultural scale) strip of solar panels, around which there are green fields over green fields over green field ....
- the photos are deceptive, the first is from the start of the strip to the end and contains the huge majority of all solar panels in like a 50km? 100km? radius. The second photo does not show the village but a separate house up the street, if the photo where in a bit more flat angle you would see a normal filed behind the solar panels. The village itself has a "strip" of (small) green fields around it which should make it less bad to live there.
I mean don't get me wrong it probably sucks for the home owners in Hjolderup. But it's not representative for the situation in Denmark at all.