How does the server_listener import get resovled in gateway_provisioners?

I’m trying to setup a python kernel in a different host using gateway_provisioners but I’m trying to figure out how this import in the launch_ipykernel.py file gets resolved?

Do we manually need to add the path to server_listener.py to sys.path?

1 Like

Hi @divyansshhh - thanks for posting this question. The general idea is that server_listener.py should be co-located with the launcher (e.g., launch_ipykernel.py). We should probably better clarify this within our Operators Guide and may want to alter the bootstrap script to formalize this. Please open an issue in the repo if you find changes are necessary.

Thanks,
Kevin.

Understood. Thanks @kevin-bates