You can just add the environment variable to the kernel.json file of the used kernel (virtual env):
,"env": {
"PYTHONPATH": "/path/to/folder:$PYTHONPATH"
}
The kernel.json could be found somewhere in the .local folder (~/.local/share/jupyter/kernels/your_venv/kernel.json)