Hi Roland, Thanks so much for your answer. I can indeed write a bash/powershell script for our users to open their notebook server under the right environments. Does anyone know if this is a feature that will be in a future jupyter release? At the moment, with `nb_conda` you can switch your kernel to a different conda environment. It seems like a missing feature that this does not also activate this environment. Or do I have something here mixed up?
Best, Matt On Tue, Nov 27, 2018 at 7:26 AM Roland Weber <[email protected]> wrote: > Hello Matt, > > it is the nature of an "environment", including all environment variables, > that it must be established _before_ invoking a command. Commands run > within the environment in which you start them. They can respond to > environment settings, or report errors if they cannot work within the > environment. But a command is not supposed to say "No, I don't want to run > in this environment, I'll just create a totally different one instead." > > Write a shell script or batch file that activates the Anaconda environment > and then calls the Jupyter command within that environment. > > cheers, > Roland > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jupyter/64ecac5b-0ba7-4902-beb0-1bb671a167ab%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/64ecac5b-0ba7-4902-beb0-1bb671a167ab%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHRdPFxtGaxJygfnGoxOhTMQi%3DcvGAE1%3DZM%2B6WMA%2BP7GYZq9YQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
