Skip to content

Add script to create virtualenv and add to jupyter #114

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scign
Copy link

@scign scign commented May 17, 2021

Adds a new script mkjupyter to create a new virtualenv with an ipykernel and add it to jupyter.

@thebjorn
Copy link
Collaborator

I don't use jupyter, so apologies if this is a daft question, but is this a virtualenvwrapper command to just install one specific package in the created virtualenv? That seems like a very narrow/specific use case, but maybe I've misunderstood?

@scign
Copy link
Author

scign commented May 17, 2021

Yes and no - with jupyter it's one thing to install the ipykernel module in a second environment, but many people stumble on the second bit, i.e. letting the main installation of jupyter know about the new environment. I would agree with you about it being a relatively narrow use case in terms of functionality, however it seems to me that the popularity of notebooks as a prototyping platform makes this a feature that would be useful to a lot of people. It would also encourage best practices in terms of:

  • maintaining one installation of jupyter and installing the ipykernel in other environments, and
  • creating separate environments for tasks / projects.

Thanks for considering the PR and I understand if this is not a direction in which you want to take the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants