Cutting off supply of gas from Russian sources to the EU isn't going to be easy, i am so sure the EU know it will cause scarcity and it will cost more because this is not the usual route, but i guess it is an action that has been forced upon them, and rather than continually bend to some demands, like paying Russia in Rubles for its gas, they are exploring other sources.
Truth be told there are no guarantees to what they want to do, if it will even come in a sufficient quantity, but i feel they have to try, maybe not only for the sake of the present, but for the future, if the EU does not make an effort to break out from their dependence on Russia for gas, it may create future problems for them, going by how Russia takes some of its decisions.
Russia has been a reliable supplier of natural gas to Europe for more than 4 decades (since the Ostpolitik days). The current crisis was created solely by Europe. What is the need for them to intervene in an issue between Russia and Ukraine? Ukraine didn't even had EU candidacy status when this war started. And from what I can see, this is hurting Europe much more than Russia. European gas prices have gone through the roof, while Russia is still able to get higher revenues as a result of increased prices.
The countries of Europe have just come to a consensus that Russia is an unreliable supplier of gas and is now using it as a weapon and blackmail. Moreover, he does this every time to achieve his economic or political goals. Now Russia itself has limited gas supplies to 12 European countries, while violating agreements previously signed with them. Taking into account the fact that Russia attacked Ukraine and is waging a war of conquest, destroying infrastructure and civilians in Ukraine, a decision has been made to get rid of energy dependence on Russia once and for all.
Europe cannot be an outside observer of an aggressive attack on Ukraine, Russia’s violation of all conceivable international agreements, since, following Ukraine, Russia is already openly threatening war to the Baltic countries and Poland, and recently to Kazakhstan, Georgia and Moldova.
The EU countries are now deliberately going to some restrictions and economic losses in order to reorient themselves to other suppliers and solve this problem forever. Gas and oil prices have now skyrocketed, but this is temporary until Europe gets its supplies of energy from countries other than Russia. But Russia itself will end up losing much more in the long run.