when i run the command “conda env list” on jupyter notebook it is always pointing to the base environment which is wrong. !conda env list or %conda env list in jupyter notebook shows the activated conda environment to be base, regardless of the Jupyter kernel being selected, but terminal shows the correct output though.
confused with this behavior of jupyter notebook. Any idea how to resolve?
please find the below screenshots for more info:
The Conda environment that Jupyter runs in (i.e. the notebook or lab user-interface), and the kernel environment used for executing code, don’t have to be the same. If you provide more details of how you setup your system, and what problems you’re encountering, someone might be able to help you.
I am actually new to this, could you please help me get the related logs or config file which can help resolve the issue?
Could you start by describing the problem? What isn’t working? So far you’ve said your Jupyter and kernel environments are different, which in itself isn’t a problem.
Hi @manics , The issue is when i open the jupyter notebook and type
!conda env list jupyter notebook shows the activated conda environment to be base, regardless of the Jupyter kernel being selected.
if you look at the screenshot conda is pointing to base environment, where it should actually point to azureml_py36 env. please let me know if i am understanding this correctly or i am having a knowledge gap here.
Also, is there any link or document where i can understand environments and configurations related to jupyter. That will help me in the long run