You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time conda-store rebuilds an environment, its actually storing it as a hashed version of the displayed env name. Because of the way jupyter works, if you update an env you're using in a notebook, the notebook will still be using the old environment.
This has to do with the juypter server caching the absolute path to the current kernel.
How conda store works:
symlink global/dashboard -> /path/to/environment/dashboard-1
When you build a new environment conda-store changes the symlink
/path/to/environment/dashboard-1 (exists but not symlinked)
Preliminary Checks
Summary
Every time conda-store rebuilds an environment, its actually storing it as a hashed version of the displayed env name. Because of the way jupyter works, if you update an env you're using in a notebook, the notebook will still be using the old environment.
This has to do with the juypter server caching the absolute path to the current kernel.
How conda store works:
When you build a new environment conda-store changes the symlink
Jupyter server or something along those lines while we give it the symlink it resolves the path an "remembers" /path/to/environment/dashboard-1
We need a note in our environment building docs and maybe the FAQ that mentions at a high level that when you rebuild your environment, you'll need to
Restart will not be effective here.
Steps to Resolve this Issue
Proper resolution lies with the conda-store project. We just need to document existing functionality.
The text was updated successfully, but these errors were encountered: