Questions tagged [jupyter-kernel]

66 questions
3
votes
1 answer

Kernel dies again and again

I'm working with python in Jupyter notebook using virtualenv in Ubuntu 16.04 but as soon I create a new file the kernel dies and it happens again and again. This happens although I restarted the whole process again for several times
2
votes
0 answers

How to correctly access to remote Jupyter Lab server (Gitpod) and how to provide security

I'm working on a project, and one of the steps is to allow contributors to be able to use Jupyter Lab on the Gitpod. Also in our project, we assume that users can use Jupyter Lab on a compute cluster and connect to it from home. So basically our…
2
votes
1 answer

Snakemake - Jupyter lab notebook does not find kernel

When writing a program in a jupyter lab notebook using R or python I install specific conda environments as kernels to access that environment-specific packages from a single jupyter lab installation in the base conda environment After finishing…
2
votes
1 answer

How to install MATLAB Engine API for Python with Python 3.7?

I have a Linux OS and I want to install MATLAB Engine API for Python to use MATLAB on the Jupiter notebook. I am following the steps of installation from here but it seems that the Matlab engine API only is not working with Python 3.7 (but it is…
2
votes
1 answer

POST request validation on Jupyter kernel gateway

I'm trying to understand how to pass data via POST request method in Jupyter notebook kernel gateway and make a validation of the parameters. I have already made some tests with GET method and It works as expected: import json # GET /get req =…
UgoL
  • 839
  • 2
  • 13
  • 37
1
vote
1 answer

Install into system instead of local directory?

julia> using Pkg julia> Pkg.add("IJulia") Installing known registries into `~/.julia` ... By default: Installs known registries into ~/.julia Install kernel into ~/.local/share/jupyter/kernels/julia-1.8 Is it possible to do a system install…
ryanhill1
  • 165
  • 1
  • 9
1
vote
0 answers

R package install issue in Jupyter Notebook launched with Anaconda

I created an R environment in Anaconda and launched it using Jupyter Notebook. I am receiving the following error message when I attempt to install the R package "ggbeeswarm." install.packages("ggbeeswarm") also installing the dependencies…
AmyRapp
  • 11
  • 2
1
vote
0 answers

Kernel cancelling a `input_request` at the end of the execution of a cell

I'm implementing a new Go kernel, using directly the ZMQ messages. But as an extra I want it to execute any bash command when a line is prefixed with !, similar to the usual ipython kernel. One of the tricky parts seems to be bash scripts that take…
Jan
  • 3,974
  • 1
  • 16
  • 11
1
vote
0 answers

jupyter notebook keeps dying while training

When executing model-training code on jupyter notebook(with cu11.7), the kernel fails to proceed more than 1 epoch and the kernel continues to die as below. What's strange is that when running the same code in a pycharn venv, the training proceeds…
1
vote
3 answers

Failed to start the Kernel. OSError: [WinError 123]

Since a few days I can't run my code (not even a simple print("Hello wolrd")) file in my python interactive window anymore. When I try to start the kernel I get the following message: Failed to start the Kernel. OSError: [WinError 123] Die Syntax…
1
vote
1 answer

How to install a new Jupyter Kernel from script

I am trying to install a new kernel on a jupyter environment from bash script. In a dockerfile that uses jupyter/minimal-notebook as the parent image, I run a bash script that: generates a new virtual env: python -m venv new_kernel installs numpy…
GianAnge
  • 593
  • 3
  • 12
1
vote
0 answers

In jupyter notebook 'Run' & 'Kernel' options are disabled

I'm new to Python programming. I just downloaded a python project code to test train the sample. Has installed python & jupyter notebook desktop setup in windows 10, but in both the localhost web environment & desktop setup I'm unable to RUN any of…
1
vote
0 answers

Failed to start the Kernel

I am quite new to this, I tried using Jupyter(on VS code) in one of the folders and it works fine but the moment I open a .ipynb file in some other folder it shows a kernel error I think I have not installed it properly, can someone please guide me…
1
vote
3 answers

Kernel not connecting in Jupyter Lab

The kernel says connecting and then says No Kernel | Disconnected. I have clean-uninstalled anaconda and uninstalled all jupyter using python -m pip uninstall -y jupyter jupyter_core jupyter-client jupyter-console jupyterlab_pygments notebook…
darthV
  • 355
  • 1
  • 3
  • 16
1
vote
1 answer

Generating list on Python 3/Jupyter kills Kernel

I'm using a notebook on Python 3 to generate a list with a dataset of 200 observations. Every time I run it, the kernel disconnects with the error message: "The kernel for Desktop/Untitled2.ipynb appears to have died. It will restart automatically."…
fdspa
  • 29
  • 2