Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate conda environment before starting notebook server #50

Open
yuvipanda opened this issue Mar 29, 2023 · 2 comments
Open

Activate conda environment before starting notebook server #50

yuvipanda opened this issue Mar 29, 2023 · 2 comments

Comments

@yuvipanda
Copy link
Member

From https://2i2c.freshdesk.com/a/tickets/594, they are getting errors about PROJ environment variables not being set. This is because the conda environment is not being activated before the notebook server starts. The PATH env vars we set account for most of what conda activate does, but turns out conda activate also sets environment variables!

So we should properly activate the conda environment before starting the notebook server.

@david-yz-liu
Copy link
Collaborator

@yuvipanda just curious, is activating conda a requirement/best practice for running Jupyter notebooks?

@yuvipanda
Copy link
Member Author

I think PROJ is the only package I know of that is affected by this, as it uses the conda package to actually set environment variables. Otherwise, I am generally not too concerned :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Needs Shaping / Refinement
Development

No branches or pull requests

2 participants