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
nb_conda_kernels and jupyter notebook extensions #206
Comments
@skwde I actually started using nb_conda_kernels specifically to avoid this isssue: For instance, in my
This is the environment that the server runs in: Then in every kernel environment, as long as I install a kernel to it (e.g. |
@tbsexton As I see it, it is not necessarily true that
If I for example use the jupyter extension |
@skwde the all points of using environments is to separate installed packages sets.
|
UPDATE@skwde I misread your reply. The
ORIGINAL COMMENT:Not sure if there is some other issue you're experiencing, but given the setup I described ( All of your notebooks will be able to use the extension, regardless of their active kernel. You can even use the This must be the case, since the extensions only interface with the jupyter notebook server, which is running in an environment isolated from the kernels. Changing the "active kernel" will not impact which environment the jupyter server is running in, nor the set of extensions it checks for. |
@tbsexton I agree that However I still don't think that packages, installed because they are jupyter extension dependencies such as Also your point regarding interoperability does not realy hold in my opinion. Just image the person I am sharing the enviornment with doesn't use the same jupyter extensions. Worse still, if the person doesn't even use jupyter than he gets an environment with not only |
The discussion is getting quite of topic. To sum-up, the requirement of If you need to share packages between environment, I suggest (but this can be dangerous) to make use of
|
When using extensions, dependencies (to my knowledge) have to be installed into each kernel environment separately.
A typical example would be the jupyter extension Autopep8 requries the package
autopep8
.Currently I have to install
autopep8
in every kernel environment.Is there a way to only install such extension dependencies to the actual notebook enviornment and not to every kernel environment I want to use in a notebook?
The text was updated successfully, but these errors were encountered: