Spawn failed: Server at http://127.0.0.1:41269/jupyterhub/user/2b172c72-d8dd-452f-ae83-2be80ebcd98c/ didn't respond in 300 seconds

It looks like you added “~/.local/bin” to the start of your PATH in your bashrc which meant that Python was loading the wrong libraries. I have changed it so that “~/.local/bin” is at the end of your PATH so it should work now.