There is certainly explosive talent and creativity in the collaborative power of these duos.
But Lennon and Waters' solo efforts are pretty...well...weak. In contrast, Macca and, to a lesser extent, Gilmour's solo content is strong.
Camille Paglia nailed it, when she said any creative or whimsical fire in John got snuffed by Yoko. Indeed, Lennon's best solo output came during his Lost Weekend.
John is in the Rock Hall and I'm not, so your mileage may very.
Difference is Waters did the vast majority of the writing, Gilmour wrote very few PF songs. Even after Waters left, Gilmour’s wife actually wrote a lot of the post-Waters PF songs.
David Gilmour was the musical soul of Pink Floyd.