Move installation of all DS packages into Jupyter Extension
See original GitHub issue- We’re already install ipykernel for windows PCs when users have shells other than Powershell/Command Prompt
- We’ve extended this to now install ipykernel ourselves always when on Windows PC (global & virtual environments)
Suggestion
- Install ipykernel for conda enviroments ourselves
- We can actiavte the env and run
conda install ipykernel
ourselves (we have the location for conda, etc)
- We can actiavte the env and run
- Instlal ipyernel for other environmetns (pipenv, poetry, etc) ourselves
- We can activate the env using Python extension, and run the pip installer
This should fix a number of ipykernel installation issues as well.
Benefits
- More users will be unblocked
- We have a better idea/understanding of when things go wrong
- Today when things go wrong, we have absolutely no idea in Python ext, because we run the command in the terminal and we don’t know what goes on in the terminal
- (also there’s no need to run these in a terminal)
- Simpler
- Lower reliance on Python ext (we can just rely on getting the type of env)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Install External Libraries and Kernels in Notebook Instances
The on-start script installs any custom environments that you create as Jupyter kernels, so that they appear in the dropdown list in the...
Read more >Installing jupyter_contrib_nbextensions
To install the jupyter_contrib_nbextensions notebook extensions, three steps are required. First, the Python pip package needs to be installed.
Read more >10 Essential Jupyter Notebook Extensions for Data Scientists
This Python package has numerous nb extensions that you can configure that help to make your Data Science development process easier. It is ......
Read more >Jupyter Guide - GitLab
Installation Instructions · Clone the repo to your local machine git clone git@gitlab.com:gitlab-data/data-science.git · Navigate to the directory: cd data- ...
Read more >Get started | DataSpell Documentation - JetBrains
Install packages · In the Python interpreter selector, choose the target environment and select Interpreter Settings. Managing packages · Click ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I thought they don’t want to own this. & us waiting will not get us anywhere, we’ve been waiting for this to happey while users break and stop using. I think we can go ahead with our npm, and when things get traction in python extnsion, we can consider merging.
Again, the only duplication is literally a few lines of code. & the Python extnesion doesn’t really have the smarts today, it just dumpts the commands into a terminal (& that will go away as they don’t want to do any of this in the future), our code will be slighly different.
Again, I don’t think there’s any code duplication, but totally fine with the npm module. Should be super easy.