Questions tagged [jupyter]

Jupyter Notebook is a locally installed application that runs in a web browser and allows you to create and share documents that contain live code, equations, visualizations and explanatory text.

Filter by
Sorted by
Tagged with
0 votes
0 answers
107 views

Jupyter Notebook not opening in firefox

I am getting this error "The file at /home/ankit/.local/share/jupyter/runtime/nbserver-8468-open.html is not readable." while trying to open jupyter notebook in ubuntu22.04 terminal. I tried ...
user avatar
0 votes
1 answer
51 views

Cannot open Jupyter lab in firefox

I had not used jupyter for a while, I updated ubuntu, firefox, conda, and jupyter lab, and get the error message in the screenshot, I have reinstalled both jupyter lab and firefox and it just won't ...
user avatar
0 votes
0 answers
57 views

Can't install jupyterhub on ubuntu 22.04

I’m trying to install and use jupyterhub on my ubuntu 22.04 home server. I tried both installing it from ubuntu repos and installing it from pip using virtual environment. Both methods give the same ...
user avatar
0 votes
0 answers
86 views

I am trying to run the following on Jupyter notebook and getting the error as ConnectionRefusedError: [Errno 111] Connection refused

findspark.init() spark_session = SparkSession.builder. config('spark.yarn.tags', f'{uid}_cm_fi_ascend_matching'). config('spark.rpc.message.maxSize', '512'). config("spark.sql.execution.arrow....
user avatar
0 votes
1 answer
75 views

jupyter-lab gone from repos in 22.04?

Just upgraded from 21.04 to 22.04 LTS. I don't exactly remember, how my jupyter services were installed previously, but I wanted to use system package manager apt to install jupyter. While I see ...
user avatar
4 votes
2 answers
245 views

Unable to open Sagemath Jupyter in Firefox (after upgrade to 22.04)

I am trying to open Sagemath through Jupyter. I am getting the following message in Firefox: Access to the file was denied The file at /home/tw/.local/share/jupyter/runtime/nbserver-61611-open.html ...
user avatar
  • 111
1 vote
1 answer
881 views

After updating to Ubuntu 22.04, I am no longer able to access Jupyter Notebook

When I try to launch Jupyter Notebook, the browser (firefox) launches and I get the following error: Access to the file was denied The file at /home/benjamin/.local/share/jupyter/runtime/nbserver-...
user avatar
  • 11
2 votes
2 answers
880 views

How to correctly configure Snap'd Firefox to open local html-file, generated by Jupyter Notebook launcher?

I'm currently running Ubuntu MATE 21.10. As an experiment (to be ready to Firefox deb → Snap migration) I have removed deb-packaged Firefox from it by sudo apt-get autopurge firefox and installed ...
user avatar
  • 89.7k
1 vote
0 answers
48 views

R processes stuck in memory from last Jupyter in VS Code session

I have noticed that I often will have multiple R processes still running, and occupying a significant amount of RAM, even if I closed all applications that I use for R. For the most part I use VS Code ...
user avatar
0 votes
1 answer
616 views

chown Operation not permitted

I had original made a Stack Overflow post. I've this command causing errors further down my Jupyter Notebook (detailed in SO post): ! chown -R daemon:daemon elasticsearch-7.9.2 Giving many of these ...
user avatar
0 votes
0 answers
90 views

Jupyter notebook desktop file: where is it?

I was trying to follow this tutorial: Ubuntu 18.04 - open jupyter notebook with double click? But I can't find the jupyter_notebook.desktop at the location indicated...nor anywhere else! Are we ...
user avatar
0 votes
0 answers
46 views

Re-installing jupyter notebook by accident

I've tried to install an IPkernel to run R scripts in my jupyter notebook, but in the steps I followed I accidentally re-installed jupyter from this command sudo apt-get install libzmq3-dev libcurl4-...
user avatar
0 votes
0 answers
93 views

jupyter-lab: command not found

I installed anaconda 4.10.3 version on ubuntu 20.04, now for running jupyter notebook/Lab I need to run source ~/Anaconda3/bin/activate root before jupyter-lab or anaconda-navigator. But I want to run ...
user avatar
0 votes
0 answers
328 views

wsl2 jupyter lab URL to Chrome

Goal I want to connect Jupyter Lab with Windows 10 WSL 2 (Ubuntu 18.04) to my chrome Tried Environemtn activate ```jupyter lab`` ERROR: JupyterLab application directory is /root/anaconda3/envs/...
user avatar
  • 155
0 votes
0 answers
28 views

How to use Sqoop/Flume import on Jupyter notebook?

I've been able to use Sqoop/Flume import command perfectly on Ubuntu terminal. But right now, I'm trying to do so on Jupyter notebook. How can I import from MySQL to HDFS using Sqoop import command ...
user avatar
1 vote
1 answer
406 views

Ubuntu freezes after executing python code in jupyter notebook

I tried executing this code in windows and it ran flawlessly but in Ubuntu as soon as I run this code, Ubuntu freezes for 3-4 mins and then the result come and then Ubuntu behaves laggy until I ...
user avatar
  • 29
0 votes
1 answer
181 views

Open a Jupyter Notebook with Python 3

I have both python 2 and python 3 installed on Ubuntu 18.04 LTS: If I do python -V and python3 -V in my terminal, I get Python 2.7.17 and Python 3.6.9 respectively. When I open a Jupyter Notebook I ...
user avatar
0 votes
0 answers
300 views

Jupyter Notebook not working with WSL

I have installed Windows Subsystem for Linux 2 on my windows computer, and using Ubuntu, have been accessing Jupyter Notebook. This has now stopped working. When I open Ubuntu and type in jupyter ...
user avatar
0 votes
2 answers
241 views

how to prevent OSError: cannot allocate memory in static TLS block in a conda enironment

I am using ubuntu 20.04 and conda 4.8.3. I have installed a package in one of my environments using pip (pip install --force-reinstall --no-cache-dir gmsh-dev) but when I try to import the package in ...
user avatar
  • 113
4 votes
2 answers
270 views

Opening Jupyter-Notebook in terminal opens Telegram Desktop!

I'm on Ubuntu 20.04.2 LTS. When I want to open Jupyter-Notebook in terminal, the telegram desktop app opens. The Jupyter-Notebook is actually opened in background. So I can open the browser and use it....
user avatar
0 votes
0 answers
64 views

Cannot get .desktop to open Jupyter Notebook and exit the terminal

I have had Jupyter Notebook installed from anaconda for a while, and I wanted to make a .desktop shortcut to open Jupyter Notebook without having to open anaconda every time or running from the ...
user avatar
  • 111
0 votes
1 answer
90 views

high RAM usage on ubuntu desktop

I'm using an Ubuntu desktop 20.04 LTS. I'm not running any concurrent applications at the time. and I'm using R and python and a jupyter notebook in my computer. today while running jupyter notebook I ...
user avatar
0 votes
2 answers
330 views

My mdns address myhost.local mistakenly bound to Docker virtual network, not my wifi network

TL;DR: How can I get myhost.local to resolve to my wifi interface rather than the Docker virtual network? My desktop system's hostname is "myhost" (from /etc/hostname etc), running Ubuntu 18....
user avatar
  • 3,396
0 votes
0 answers
367 views

GTK integration conflicts with qgtk2 platformtheme

I am on Ubuntu 18.04 and Telegram updated to 2.7.4 a few days ago. When I tried to open Jupyter notebook today I got the following error: (telegram-desktop:27524): lib_base-WARNING **: 17:06:20.656: ...
user avatar
  • 101
0 votes
1 answer
50 views

Is it possible to keep different ssh login shells a same $DISPLAY number?

I am running a Jupyter Server on my remote server with nohup jupyter lab --no-browser --port 1234 $ and use X11 forwarding to access gui programs on the remote server. But the $DISPLAY number of the ...
user avatar
  • 11
2 votes
0 answers
2k views

How to change the R path?

I have some problems with using R and Rstdio along with my Jupyter notebook and r in my ubuntu 20.04. I first installed R and Rstudio. This version of R was the latest. (4.0.5). Then I installed ...
user avatar
0 votes
1 answer
518 views

Deleted everything in Jupyter, cannot recover files from Trash

I promise I already searched for this! The problem I am facing is that I deleted all of my directories, or at least all of the ones that showed up in Jupyter Notebook. Why, you ask? Because I am a ...
user avatar
0 votes
1 answer
254 views

Automatically opening Jupyter notebook at http://localhost: instead of file://

Since Chromium has become a snap package, it cannot in a standard install access just any files. When launching Jupyter Notebook (executing jupyter notebook in a terminal), this directs the default ...
user avatar
0 votes
2 answers
813 views

Shell script not running from cron

Server Ubuntu 16.04 running in a Virtual Box. I had a server which I needed to rebuild (had no backups). I copied all relevant scripts I needed to reuse and all work as expected except one which is ...
user avatar
1 vote
1 answer
70 views

How can I use a vim plugin for a filetype that the plugin is not intended for?

If you convert a Jupyter Notebook to a markdown document (with pandoc, for example) then it's nice and easy to edit it without having to launch the browser. I enjoy the vim-markdown plugin for this ...
user avatar
0 votes
0 answers
52 views

Recovering replaced Jupyter notebook on Ubuntu

I am trying to recover a Jupyter Notebook that i replaced by mistake on Ubuntu. Is there a way to get that? lets say I had A.ipynb but by mistake i replaced that with another A.ipynb and now i am ...
user avatar
  • 1
1 vote
0 answers
282 views

Multiple X11 forwardings on ubuntu and jupyter-notebook

I have installed jupyter-notebook on an ubuntu 18.04; let us call it Server A. The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live ...
user avatar
0 votes
2 answers
1k views

Jupyter Notebooks Open in VSCode but not in Terminal

I am pretty new in the Linux world. Just installed it one week ago. Now I am facing an annoying problem. Its probably an easy/stupid thing that I am missing. Here is the thing: I am a VSCode lover, so ...
user avatar
  • 1
0 votes
1 answer
628 views

Jupyter notebook snap package not seeing / importing packages / modules

The Jupyter notebook snap package is not seeing / importing packages / modules I'm trying to convert a list to a vector numpy float32 list array I'm running Ubuntu 18.04 and installed Jupyter from the ...
user avatar
  • 1,845
1 vote
0 answers
142 views

Run GUI Application from web-based terminal emulator ubuntu18.04/Jupyter Notebook

I have installed a fully-functional terminal emulator in an IPython/Jupyter notebook. This is useful for notebook environments that don't provide shell access. The terminal is used inside the browser. ...
user avatar
3 votes
3 answers
8k views

Jupyter Notebook autocomplete not working

I am using Ubuntu 20.04 I installed Jupyter Notebook in a virtual environment I created in a folder. It's all working fine, but clicking on TAB after a dot isn't showing me the methods available. Is ...
user avatar
0 votes
0 answers
1k views

Delete files rather than putting to trash in Jupyter Notebook in a Docker container

I am running Jupyter Notebook in a Docker container. There is the following problem - when I delete a file in Jupyter Notebook it is being put to trash rather than deleted. Because of it, the size of ...
user avatar
  • 125
1 vote
0 answers
94 views

How can I provide Chromium Snap package permissions to access directories?

I installed Chromium from Software Center and and it was fine but it didn't have access to some directories like mounted drives. Then I read a thread and I uninstalled it and installed the Chromium ...
user avatar
  • 81
1 vote
2 answers
4k views

Xubuntu 20:04 (focal): IPKernelApp|Error|No such comm target registered|jupyter.widget.version

I am running Xubuntu 20.04 (after upgrading from 19.04) as a guest on a VirtualBox VM in a Windows 10 host. After an apt install of the jupyter metapackage, I keep getting two errors. To reproduce ...
user avatar
0 votes
2 answers
6k views

Anaconda is only available to root

I downloaded the Anaconda3-2020.02-Linux-x86_64.sh from official site and used the command: sudo sh Anaconda3-2020.02-Linux-x86_64.sh To install. By default it installed inside '/root/anaconda3'. ...
user avatar
0 votes
0 answers
425 views

Why does Jupyter notebook server refuse to connect?

The OS is Ubuntu server 20.04 LTS(HVM) I am trying to configure a server to start Jupyter notebook service when it boots. The problem is it refuses connections. I don't know why. The notebook, and ...
user avatar
1 vote
0 answers
160 views

Jupyter & Conda: how to set different working directories for different environments

i'm working on a fresh Anaconda3 installation. I want to create different environments for different projects. In each environment i want to use jupyter, so i'm installing it in each of them: conda ...
user avatar
  • 111
0 votes
1 answer
662 views

Cannot open jupyter notebook on ubuntu18.04-VirtualMachine (PermissionError: [Errno 13] )

I installed Anaconda, and when I am trying to open jupyter notebook either through Anaconda or directly form the terminal I am getting the error - Traceback (most recent call last): File "/home/...
user avatar
5 votes
4 answers
4k views

jupyter notebook access issue in Chromium

I'm getting a common error, but the chmod solutions I've found don't seem to be working. When I create a Jupyter notebook through terminal, by running jupyter notebook, on Ubuntu 19.10, I get this ...
user avatar
  • 51
2 votes
1 answer
4k views

python3: can't open file 'notebook': errno 2 no such file or directory

I am facing issues with running spark in Jupyter notebook. I have following variables set in /.bashrc export SPARK_HOME=~/Development/Spark/spark-2.4.4-bin-hadoop2.7 export PATH=$SPARK_HOME/bin:$...
user avatar
1 vote
0 answers
755 views

Shell script working on terminal but not on cron

I am using jupyter notebook on virtual environment to extract data using selenium. I have used a shell script to run the jupyter notebook on cronjob as recommended. #!/bin/bash /home/username/...
user avatar
1 vote
0 answers
705 views

'jupyter-notebook' command not working after installing Anaconda

After installing Anaconda and following the installation page, I have run into an issue that requires me to go to the bin in order to use the jupyter-notebook command. I found the this working with ...
user avatar
5 votes
1 answer
2k views

Ubuntu 18.04 - open jupyter notebook with double click?

Is there a way to configure Ubuntu 18.04 to open Jupyter Notebooks with a double click from the graphical file browser? There are 2 prominent Stack Overflow posts on the subject: https://...
user avatar
  • 1,251
0 votes
1 answer
2k views

ModuleNotFoundError: No module named 'matplotlib'

I cannot draw a plot in a jupyter notebook. It says: "ModuleNotFoundError: No module named 'matplotlib' " even though I have installed the matplotlib. I have Ubuntu 18.04 as OS. (By the way, I ...
user avatar
0 votes
1 answer
65 views

How do I suppress Zenity dialog pop-up when starting Jupyter Notebook? [closed]

When I launch Jupyter Notebook from terminal, a Zenity notification window pops-up saying: Allow opening file? Allow snap "jupyter" to open file "/run/user/1000/snap.jupyter/jupyter/nbserver-5664-...
user avatar