admin管理员组文章数量:1124388
I'm developing OSS widget based library that are unfortunately not 100% compatible with the current implementation of jupyter in VSCode so when i'm using a codespace I'm force to use a jupyterlab interface. Here is my devcontainer configuration:
{
"name": "Python 3",
"image": "mcr.microsoft/devcontainers/python:1-3.11-bullseye",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"installJupyterlab": true
},
}
When I open The codespace in my browser I get a perfectly fine jupyter interface but I don't manage to add extra libs in the environment.
Going into the terminal I canrun an install command like pip install earthengine-api
:
But then this lib is not available to the example notebook even if I restart the kernel:
when I look at the kernel themselves I don't understand which one I should select to see the python I'm interacting with in the terminal:
Anyone have suggestion to how I should be adding these extra libs ?
PS: installing them directly from the notebook for me is a big no as its scope will be narrowed down to a single notebook and I have multiple ones.
本文标签: jupyter labhow to add extra lib to my notebook environment in a jupyterlab codespaceStack Overflow
版权声明:本文标题:jupyter lab - how to add extra lib to my notebook environment in a jupyterlab codespace? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736629275a1945741.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论