Jupyter Notebook will not inherit environment variables from your shell environment if you run it from a different server. Launch Jupyter Notebook from terminal and check that the variable is included in .bashrc or .bash_profile.