pre-commit-ci[bot] on pre-commit-ci-update-config
[pre-commit.ci] pre-commit auto… (compare)
so now this works:
to_accordion(some_content,'some_title')
However having this in a for loop does not output anything. For example:
for i in range(3):
to_accordion(i,i)
Shift + End
(starting from the cell I want to re-run) and hit ctrl+Enter
. There must a better way right ?
Hi, I am running a jupyter server via conda, on a system that has also other jupyter installations.
How can I avoid my conda-jupyter to pick-up the system kernels ?jupyter path
shows me:
massimods@r740-5hdn2s2-ag-gcompute:~$ which jupyter
/modules/centos7/user-apps/fou-fd/miniconda-mds/envs/rapids-0.19/bin/jupyter
massimods@r740-5hdn2s2-ag-gcompute:~$ jupyter --paths
config:
/home/massimods/.jupyter
/modules/centos7/user-apps/fou-fd/miniconda-mds/envs/rapids-0.19/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/home/massimods/.local/share/jupyter
/modules/centos7/user-apps/fou-fd/miniconda-mds/envs/rapids-0.19/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/home/massimods/.local/share/jupyter/runtime
I'd like to avoid to load all the system directory: /usr/local
and /usr/share
Is it something that I can tune in the jupyter configuration?
massimods@r740-5hdn2s2-ag-gcompute:~$ jupyter kernelspec list
Available kernels:
rapids /home/massimods/.local/share/jupyter/kernels/rapids
python3 /modules/centos7/user-apps/fou-fd/miniconda-mds/envs/rapids-0.19/share/jupyter/kernels/python3
bash /usr/local/share/jupyter/kernels/bash
ir /usr/local/share/jupyter/kernels/ir
python2 /usr/local/share/jupyter/kernels/python2
from IPython.display import display
from ipywidgets import Output, VBox, Accordion, Layout
layout = Layout(border='solid blue')
def to_accordion(content, title):
out = Output()
accordion = Accordion([out], selected_index=None, layout=layout)
accordion.set_title(0, title)
with out:
display(content)
return VBox([accordion])
if __name__ == '__main__':
to_accordion('test_content', 'test_title')
layout = Layout(border='solid blue', overflow_x='auto')
didn't help
jupyter labextension install
is there a way to define a proxy ?
jupyter notebook —debug
) and see if that produces any helpful information? In particular, the logging surrounding the command used to launch the kernel.
"C:\Program Files\python.exe" -m ipykernel_launcher -f "C:\Users\Ines Gaspar\AppData\…\kernel_….json”
with the space-separated paths in double quotes (if I recall from my WIndows days)
Hello again...
"NOTE: When using the ipython kernel
entry point, Ctrl-C will not work.
To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments
To read more about this, see ipython/ipython#2049
To connect another client to this kernel, use:
--existing C:\Users\Ines Gaspar\AppData\Roaming\jupyter\runtime\kernel-87c47cb4-88f5-4484-a584-7910c0e610bb.json"
ctrl-\
.@dcompoze you may use nbconvert to export a notebook to html and then use beautifulsoup to edit the html file and get the attachments
os.system(f'jupyter nbconvert {report}.ipynb --no-input --to html')
I used that to create an automated outline of the notebook getting all the a html tags with beautifulsoup .
Open the html file to see where the attachements are encoded
hello,
How we can download the output like we have options with databricks notebooks? is there any option in jupyter notebook to download the output??
Like we have options to download the output in csv etc., is that same options present in jupyter notebook from where we can download the output?
Anyone please?
Javascript Error: $ is not define
and had no idea how to resolve this...
details
/summary
tags no longer working in classic notebook interface? (It works find in same browser in current JupyterLab.) See here if you have a solution? I think I found and linked to the filed issue jupyter/notebook#2223 that is related to this; however, feel free to point out if there is indeed a better one. Since this works in JupyterLab now and the underlying workings will soon be much more the same in notebook 7.0, maybe that is how it will be sorted?
pip install notebook==6.4.11 --upgrade
. The release notes and artifacts can be found on https://github.com/jupyter/notebook/releases/tag/v6.4.11. Thx to all who contributed to this.
Hey folks,
New pre-releases of Notebook v7 keep coming in, with 7.0.0a3
just released today.
pip install --pre notebook
There are a couple of user-facing changes, so feedback is very welcome.
Don't hesitate to open a new issue on the notebook repo (https://github.com/jupyter/notebook), or a new topic on the Jupyter Discourse (https://discourse.jupyter.org) to discuss.
Thanks!