davidmarble / virtualenvwrapper-win

Port of Doug Hellmann's virtualenvwrapper to Windows batch scripts
Other
461 stars 106 forks source link

Add script to create virtualenv and add to jupyter #114

Open scign opened 3 years ago

scign commented 3 years ago

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

thebjorn commented 3 years ago

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 commented 3 years ago

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:

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