Load your modules first!

Make sure you load the necessary modules BEFORE starting your kernels so they have the right environment. Loading modules after will not have any effect on existing kernels.

You can leverage the existing software stack on the systems with modules with the Lmod extension in Jupyterlab: