# Jupyter Notebooks

**URL:** https://swan-community.web.cern.ch/c/jupyter-notebooks/7.md

[Latest](https://swan-community.web.cern.ch/latest.md) · [Categories](https://swan-community.web.cern.ch/categories.md)

---

## [About the Jupyter Notebooks category](https://swan-community.web.cern.ch/t/about-the-jupyter-notebooks-category/15)

<div class="topic-metadata">

**Author:** [@marsuaga](https://swan-community.web.cern.ch/u/marsuaga)\
**Replies:** 0

</div>

General usage of Jupyter notebooks, activating notebook extensions.

---

## [Cannot access SWAN Jupyter notebooks](https://swan-community.web.cern.ch/t/cannot-access-swan-jupyter-notebooks/877)

<div class="topic-metadata">

**Author:** [@ekhazaie](https://swan-community.web.cern.ch/u/ekhazaie)\
**Replies:** 0\
**Last updated:** [May 27, 2026, 6:13pm UTC](https://swan-community.web.cern.ch/t/cannot-access-swan-jupyter-notebooks/877 "2026-05-27T18:13:38Z")

</div>

Dear SWAN team, I can access SWAN (https://swan.cern.ch), but I am unable to open my Jupyter SWAN sessions/workspace (https://swan-k8s.cern.ch). My analysis notebooks are stored there, and I currently cannot connect to …

---

## [Can't get Dask to work with Bleeding Edge](https://swan-community.web.cern.ch/t/cant-get-dask-to-work-with-bleeding-edge/861)

<div class="topic-metadata">

**Author:** [@staider](https://swan-community.web.cern.ch/u/staider)\
**Replies:** 3\
**Last updated:** [September 22, 2025, 1:08pm UTC](https://swan-community.web.cern.ch/t/cant-get-dask-to-work-with-bleeding-edge/861 "2025-09-22T13:08:03Z")

</div>

Hello SWAN team, I’m trying to start a Dask cluster on the HTCondor pool using the “Bleeding Edge” software stack, and it’ won’t start: when I click on “new” I get this “Cluster Start Error” that says “Unhandled error”. …

---

## [SWAN session not starting](https://swan-community.web.cern.ch/t/swan-session-not-starting/849)

<div class="topic-metadata">

**Author:** [@tmenezes](https://swan-community.web.cern.ch/u/tmenezes)\
**Replies:** 1\
**Last updated:** [June 17, 2025, 2:07pm UTC](https://swan-community.web.cern.ch/t/swan-session-not-starting/849 "2025-06-17T14:07:24Z")

</div>

Dear experts, When trying to create a new SWAN session, with Software Stack 104a and Cent0S7 platform, the session could not be started (Firefox and Google Chrome). I wonder if this problem happened for someone else a…

---

## [IOPub data rate exceeded](https://swan-community.web.cern.ch/t/iopub-data-rate-exceeded/837)

<div class="topic-metadata">

**Author:** [@asbrooks](https://swan-community.web.cern.ch/u/asbrooks)\
**Replies:** 2\
**Last updated:** [April 17, 2025, 1:01pm UTC](https://swan-community.web.cern.ch/t/iopub-data-rate-exceeded/837 "2025-04-17T13:01:41Z")

</div>

Hello, How can I increase the data rate. I have tried generate a config file jupyter notebook --generate-config Then increased the limit from this # Default: 1000000 c.NotebookApp.iopub\_data\_rate\_limit = 10000000 …

---

## [Accessing swan software stack from lxplus](https://swan-community.web.cern.ch/t/accessing-swan-software-stack-from-lxplus/832)

<div class="topic-metadata">

**Author:** [@hahamdao](https://swan-community.web.cern.ch/u/hahamdao)\
**Replies:** 3\
**Last updated:** [March 28, 2025, 4:11pm UTC](https://swan-community.web.cern.ch/t/accessing-swan-software-stack-from-lxplus/832 "2025-03-28T16:11:09Z")

</div>

I know someone have asked about offering better IDE like VSCode on the web as a complement to SWAN. But my question is there a way to just specify one of SWAN software stacks like python2 or cuda as kernel or a jupyter s…

---

## [Local modules](https://swan-community.web.cern.ch/t/local-modules/825)

<div class="topic-metadata">

**Author:** [@rrossi](https://swan-community.web.cern.ch/u/rrossi)\
**Replies:** 6\
**Last updated:** [February 12, 2025, 8:16am UTC](https://swan-community.web.cern.ch/t/local-modules/825 "2025-02-12T08:16:50Z")

</div>

Hello there, I have recently moved some work from my local machine to SWAN. I’m having some issues with importing some local modules containing functions I have wrote in the years. Importing modules from a folder seem…

---

## [Kernel Error using 104a CentOS 7 (gcc11)](https://swan-community.web.cern.ch/t/kernel-error-using-104a-centos-7-gcc11/820)

<div class="topic-metadata">

**Author:** [@tmenezes](https://swan-community.web.cern.ch/u/tmenezes)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 8:34pm UTC](https://swan-community.web.cern.ch/t/kernel-error-using-104a-centos-7-gcc11/820 "2025-01-28T20:34:47Z")

</div>

Dear experts, I was recently developing a Jupyter Notebook in the configuration: Software Stack: 104a Platform: CentOS 7 (gcc11) However, since yesterday, I’m getting a Kernel Error with the comment “XSRF cookie does…

---

## [Python talk this Thursday: Combining Jupyter and blender for 3d visualisation](https://swan-community.web.cern.ch/t/python-talk-this-thursday-combining-jupyter-and-blender-for-3d-visualisation/817)

<div class="topic-metadata">

**Author:** [@pelson](https://swan-community.web.cern.ch/u/pelson)\
**Replies:** 1\
**Last updated:** [January 17, 2025, 8:38am UTC](https://swan-community.web.cern.ch/t/python-talk-this-thursday-combining-jupyter-and-blender-for-3d-visualisation/817 "2025-01-17T08:38:19Z")

</div>

Dear SWAN community, This Thursday afternoon (14:00 in 6/2-024), there will be a CERN Computing Seminars and Colloquia from external speaker Jan-Hendrik Müller (@kolibril13.bsky.social on Bluesky), an enthusiast of Pyth…

---

## [Failed building wheel for package](https://swan-community.web.cern.ch/t/failed-building-wheel-for-package/795)

<div class="topic-metadata">

**Author:** [@acridlan](https://swan-community.web.cern.ch/u/acridlan)\
**Replies:** 2\
**Last updated:** [October 16, 2024, 3:15pm UTC](https://swan-community.web.cern.ch/t/failed-building-wheel-for-package/795 "2024-10-16T15:15:50Z")

</div>

Hi All, I’m just getting started with SWAN and I tried to install a package with PIP. It failed with the error ’ Could not build wheels for \[package\], which is required to install pyproject.toml-based projects’. How c…

---

## [Plots generated with %matplotlib widget are not being saved when converting to HTML file](https://swan-community.web.cern.ch/t/plots-generated-with-matplotlib-widget-are-not-being-saved-when-converting-to-html-file/742)

<div class="topic-metadata">

**Author:** [@smazenou](https://swan-community.web.cern.ch/u/smazenou)\
**Replies:** 12\
**Last updated:** [March 6, 2024, 3:18pm UTC](https://swan-community.web.cern.ch/t/plots-generated-with-matplotlib-widget-are-not-being-saved-when-converting-to-html-file/742 "2024-03-06T15:18:06Z")

</div>

Hello, I am trying to create notebook reports for archiving purposes, but it seems that the widget output is not saved. Steps to reproduce: 102 with nxcals pro, in a notebook called Untitled: import matplotlib.pyplot…

---

## [Saving notebook issue](https://swan-community.web.cern.ch/t/saving-notebook-issue/750)

<div class="topic-metadata">

**Author:** [@vsedighz](https://swan-community.web.cern.ch/u/vsedighz)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 11:09am UTC](https://swan-community.web.cern.ch/t/saving-notebook-issue/750 "2024-03-04T11:09:04Z")

</div>

Hello all, I’ve been utilizing Swan-K8, but I’ve encountered a problem when attempting to save my notebook. I’m curious if anyone else has experienced the same issue? File Save Error for FBCM\_Linearity\_V2.ipynb Failed…

---

## [Plotly on Swan in optuna](https://swan-community.web.cern.ch/t/plotly-on-swan-in-optuna/682)

<div class="topic-metadata">

**Author:** [@khansh](https://swan-community.web.cern.ch/u/khansh)\
**Replies:** 2\
**Last updated:** [August 23, 2023, 2:56pm UTC](https://swan-community.web.cern.ch/t/plotly-on-swan-in-optuna/682 "2023-08-23T14:56:58Z")

</div>

I am using the GPU configuration of SWAN 103 CUDA and I cannot use Optuna’s visualization options because plotly version (plotly.\_\_version\_\_) gives me an error (0+unknown). I tried to install it with!pip install --user p…

---

## [More resource for machine learning project](https://swan-community.web.cern.ch/t/more-resource-for-machine-learning-project/646)

<div class="topic-metadata">

**Author:** [@gvecchio](https://swan-community.web.cern.ch/u/gvecchio)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 9:23am UTC](https://swan-community.web.cern.ch/t/more-resource-for-machine-learning-project/646 "2023-06-16T09:23:44Z")

</div>

Hi, I need more resources for my machine learnign project to run my project based on keras and tensorflow libraries. I need 2 or more GPU, is it possible? Thank you

---

## [PDF generation without code cells](https://swan-community.web.cern.ch/t/pdf-generation-without-code-cells/458)

<div class="topic-metadata">

**Author:** [@egibbons](https://swan-community.web.cern.ch/u/egibbons)\
**Replies:** 3\
**Last updated:** [June 9, 2023, 10:31am UTC](https://swan-community.web.cern.ch/t/pdf-generation-without-code-cells/458 "2023-06-09T10:31:45Z")

</div>

Hi, Scrolling through previous posts on PDF saving I have not been able to find how to export a notebook without the code cells. I would only like to have markdown cells and outputs in the generated PDF file if possibl…

---

## [Convert to PDF hiding the code](https://swan-community.web.cern.ch/t/convert-to-pdf-hiding-the-code/136)

<div class="topic-metadata">

**Author:** [@brubiopa](https://swan-community.web.cern.ch/u/brubiopa)\
**Replies:** 5\
**Last updated:** [June 9, 2023, 10:31am UTC](https://swan-community.web.cern.ch/t/convert-to-pdf-hiding-the-code/136 "2023-06-09T10:31:12Z")

</div>

Hi everybody, I am trying to export / download the notebook in .pdf hiding the code. Since I have not found a way of doing so using SWAN’s interface, I have tried following the recommended steps in: using SWAN’s te…

---

## [Plotly backend for Pandas](https://swan-community.web.cern.ch/t/plotly-backend-for-pandas/640)

<div class="topic-metadata">

**Author:** [@sdusini](https://swan-community.web.cern.ch/u/sdusini)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 8:11pm UTC](https://swan-community.web.cern.ch/t/plotly-backend-for-pandas/640 "2023-04-25T20:11:11Z")

</div>

I would like to use Plotly backend to plot Pandas data. When I try to set the backend import numpy as np import pandas as pd import datetime as dt import plotly.express as px pd.set\_option("plotting.backend", "plotly")…

---

## [Inserting pictures into markdown cell](https://swan-community.web.cern.ch/t/inserting-pictures-into-markdown-cell/627)

<div class="topic-metadata">

**Author:** [@ngal](https://swan-community.web.cern.ch/u/ngal)\
**Replies:** 3\
**Last updated:** [February 23, 2023, 9:37am UTC](https://swan-community.web.cern.ch/t/inserting-pictures-into-markdown-cell/627 "2023-02-23T09:37:14Z")

</div>

Hi, I would like to insert pictures into markdown cell and share the notebook with others. I tried it in many ways: \<img src="image.jpg"\> \<img src="/eos/user/n/ngal/Swan\_pics\_inside\_notebook/image.jpg"\> \<img src="\\\\cer…

---

## [Installing Autopep8 extension](https://swan-community.web.cern.ch/t/installing-autopep8-extension/615)

<div class="topic-metadata">

**Author:** [@londris](https://swan-community.web.cern.ch/u/londris)\
**Replies:** 1\
**Last updated:** [January 19, 2023, 2:39pm UTC](https://swan-community.web.cern.ch/t/installing-autopep8-extension/615 "2023-01-19T14:39:59Z")

</div>

Hello, I would like to enable certain nbextensions in my Jupyter Notebooks, for example the Autopep8 extension. I tried to follow the documentation on this page: Install and enable notebook extensions - Help I execute…

---

## [Read large files using swan](https://swan-community.web.cern.ch/t/read-large-files-using-swan/599)

<div class="topic-metadata">

**Author:** [@msandesd](https://swan-community.web.cern.ch/u/msandesd)\
**Replies:** 1\
**Last updated:** [November 2, 2022, 6:31pm UTC](https://swan-community.web.cern.ch/t/read-large-files-using-swan/599 "2022-11-02T18:31:03Z")

</div>

Hello people, I have one question: How can I read a .root file with 2 GB using swan? I’m using the following library to read the root file: from ROOT import TFile, gROOT from pandas import DataFrame And the code to o…

---

## [Speed of accessing files on EOS](https://swan-community.web.cern.ch/t/speed-of-accessing-files-on-eos/574)

<div class="topic-metadata">

**Author:** [@jpucek](https://swan-community.web.cern.ch/u/jpucek)\
**Replies:** 2\
**Last updated:** [July 28, 2022, 10:27am UTC](https://swan-community.web.cern.ch/t/speed-of-accessing-files-on-eos/574 "2022-07-28T10:27:54Z")

</div>

Hello everyone, I am using SWAN to analyze event data which are in .h5 file format. After the analysis code I save some variables onto my CERNbox. Everything works well, however, as I am accessing 1000s of files, speed …

---

## [Terminal option on SWAN Jupiter notebook is not showing up](https://swan-community.web.cern.ch/t/terminal-option-on-swan-jupiter-notebook-is-not-showing-up/563)

<div class="topic-metadata">

**Author:** [@russelld](https://swan-community.web.cern.ch/u/russelld)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 6:53am UTC](https://swan-community.web.cern.ch/t/terminal-option-on-swan-jupiter-notebook-is-not-showing-up/563 "2022-07-07T06:53:53Z")

</div>

Hi, Does anyone know another to access such terminal? Thanks in advance!

---

## [Issues with swan-k8s nodes](https://swan-community.web.cern.ch/t/issues-with-swan-k8s-nodes/544)

<div class="topic-metadata">

**Author:** [@hrussell](https://swan-community.web.cern.ch/u/hrussell)\
**Replies:** 1\
**Last updated:** [June 8, 2022, 9:17am UTC](https://swan-community.web.cern.ch/t/issues-with-swan-k8s-nodes/544 "2022-06-08T09:17:18Z")

</div>

Hi, I was just wondering if others are having general issues with the new swan-k8s nodes, or if it is just me? I regularly have issues with notebooks not ever opening, not being able to connect to a kernel, or if they d…

---

## [Jupyter lost connection with CERNBox after 24 hours](https://swan-community.web.cern.ch/t/jupyter-lost-connection-with-cernbox-after-24-hours/542)

<div class="topic-metadata">

**Author:** [@gvecchio](https://swan-community.web.cern.ch/u/gvecchio)\
**Replies:** 1\
**Last updated:** [June 1, 2022, 11:26am UTC](https://swan-community.web.cern.ch/t/jupyter-lost-connection-with-cernbox-after-24-hours/542 "2022-06-01T11:26:27Z")

</div>

Hi all, I have a problem with the connection of my python project with CERNBox for file saving. I have a simple routine that save files on CERNBox every 2-3 hours with this code: np.savetxt(“data/signal61\_0011\_out.txt…

---

## [SWAN Jupyter Notebook: Permission Denied](https://swan-community.web.cern.ch/t/swan-jupyter-notebook-permission-denied/490)

<div class="topic-metadata">

**Author:** [@nicholas](https://swan-community.web.cern.ch/u/nicholas)\
**Replies:** 2\
**Last updated:** [November 18, 2021, 10:36pm UTC](https://swan-community.web.cern.ch/t/swan-jupyter-notebook-permission-denied/490 "2021-11-18T22:36:01Z")

</div>

Hello, I’m working inside a Jupyter notebook and see the following message at the top of the page: It reads “Permission denied: \[Path to my file\]” The notebook is still executing code as expected. However, I’m afrai…

---

## [Make new package for panda HPO task submission available on swan](https://swan-community.web.cern.ch/t/make-new-package-for-panda-hpo-task-submission-available-on-swan/467)

<div class="topic-metadata">

**Author:** [@pmtuan](https://swan-community.web.cern.ch/u/pmtuan)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 7:58am UTC](https://swan-community.web.cern.ch/t/make-new-package-for-panda-hpo-task-submission-available-on-swan/467 "2021-08-23T07:58:50Z")

</div>

Hi everyone, I am developing as a part of my qualification task for ATLAS authorship a python package to submit hyperparameter optimization jobs for machine learning to the CERN Grid from a Jupyter notebook using intera…

---

## [Launching TensorBoard from a notebook](https://swan-community.web.cern.ch/t/launching-tensorboard-from-a-notebook/462)

<div class="topic-metadata">

**Author:** [@sciaba](https://swan-community.web.cern.ch/u/sciaba)\
**Replies:** 1\
**Last updated:** [July 21, 2021, 1:51pm UTC](https://swan-community.web.cern.ch/t/launching-tensorboard-from-a-notebook/462 "2021-07-21T13:51:22Z")

</div>

Hi, I tried to launch TensorBoard from a Python notebook by doing %load\_ext tensorboard %tensorboard --logdir=./my\_logs --port=6006 but I just get a big empty cell with the message “swan005.cern.ch took too long to r…

---

## [General access of a SWAN notebook](https://swan-community.web.cern.ch/t/general-access-of-a-swan-notebook/461)

<div class="topic-metadata">

**Author:** [@sidoti](https://swan-community.web.cern.ch/u/sidoti)\
**Replies:** 2\
**Last updated:** [July 21, 2021, 12:57pm UTC](https://swan-community.web.cern.ch/t/general-access-of-a-swan-notebook/461 "2021-07-21T12:57:23Z")

</div>

Hello, I need to share my SWAN nb to several cern users (order of ~50). I see I can share specifying their cern user names, but it’s a little bit tedious to do so for ~50 names. Is there a way to give general access to…

---

## [Inconsistent package update](https://swan-community.web.cern.ch/t/inconsistent-package-update/415)

<div class="topic-metadata">

**Author:** [@franzoni](https://swan-community.web.cern.ch/u/franzoni)\
**Replies:** 2\
**Last updated:** [April 28, 2021, 3:16pm UTC](https://swan-community.web.cern.ch/t/inconsistent-package-update/415 "2021-04-28T15:16:55Z")

</div>

I want to use seaborn 11. The pip command output maintains the version has been updated. However, pip freeze still shows version 9, and so I get if I query the version from within a notebook. Details below - the same …

---

## [PyTimber Problem](https://swan-community.web.cern.ch/t/pytimber-problem/411)

<div class="topic-metadata">

**Author:** [@jpotoine](https://swan-community.web.cern.ch/u/jpotoine)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 10:19am UTC](https://swan-community.web.cern.ch/t/pytimber-problem/411 "2021-04-26T10:19:50Z")

</div>

Dear Swan team, Me and some colleges have trouble opening the Pytimber library from swan, when trying to do so we obtain the following message error: /cvmfs/sft.cern.ch/lcg/views/LCG\_99/x86\_64-centos7-gcc8-opt/lib/pyth…

[Next page](https://swan-community.web.cern.ch/c/jupyter-notebooks/7.md?page=1)
