jyio / jupyter-marimo-proxy

Jupyter + Marimo = ❤️
Apache License 2.0
17 stars 5 forks source link

Update PATH before executing marimo #4

Closed benz0li closed 4 months ago

benz0li commented 4 months ago
jyio commented 4 months ago

Thank you for your input! We should break this down into bite-sized pieces.

  1. I take it that os.environ['JUPYTERHUB_SERVICE_PREFIX'] + 'marimo' works as a base URL?
  2. I see that you're updating PATH for the entire process at import time, which would cause side effects. Instead, you could override environment variables while spawning the process. Have a look at this example :)