There you have it
It’s good you found a solution, and even better you shared it here. That’s the Fedora way!
jupyterlab can be installed via rpm, via pip, pipx or (as I learned here) flatpak. All (most) of them use different python installations and/or python module paths (virtual environments). That explains why your system (i)python saw the module which your flatpak jupyterlab’s python “kernel” couldn’t see.