Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
44 views

Jupyter notebook permission denied

I'm using Ubuntu 18.04 and whenever I run the command jupyter notebook in the terminal, it shows Access to the file was denied The file at /run/user/1000/jupyter/nbserver-10831-open.html is not ...
0
votes
0answers
35 views

The port 8888 is already in use

I tried opening my Jupyter notebook from the terminal, but it's showing: 503 Service Unavailable Failed to connect to server localhost. And this shows on the terminal: [I 18:55:37.270 NotebookApp] ...
0
votes
0answers
39 views

SyntaxError regarding async when attempting to run Jupyter in Python 3.7

On attempting to launch Jupyter on Python 3.7, I observe the following: $ jupyter notebook Traceback (most recent call last): File "/usr/local/bin/jupyter-notebook", line 11, in <module> ...
0
votes
0answers
35 views

Jupyter notebook on Ubuntu 18.04 doesn't free memory

I have a piece of code (Python 3.7) in a Jupyter notebook cell that generates a pandas data frame (df) containing numpy arrays. I am checking the memory consumption of the df just by looking at the ...
0
votes
0answers
125 views

systemd won't start service

I am trying to start a jupyter notebook service using systemd with the following service unit file in Ubuntu 18.04 LTS: [Unit] Description=Jupyter [Service] Type=simple PIDFile=/run/jupyter.pid ...
0
votes
0answers
22 views

Two jupyter notebook running at the same port

I am using the Ubuntu sub-system on Windows 10. I opened a terminal and entered the command: jupyter notebook and then a notebook is started at port 8888. Without closing this one, I opened ...
0
votes
0answers
11 views

How can I read this script for submitting a jupyter-notebook server as a batch job?

I am totally new to Linux and writing bash scripts. In this tutorial, I found a script for submitting a jupyter-notebook server as a batch job. However, I cannot understand the script. Can someone ...
0
votes
1answer
340 views

Cannot open Jupyter Notebook in Ubuntu 18.04 [closed]

I have installed Jupyter notebook using pip on my Ubuntu 18.04. It is apparently installed correctly, since when i type in terminal: which jupyter it returns /usr/local/bin/jupyter But when I ...
0
votes
0answers
35 views

Running Jupyter notebook as a service with correct user, but path is not complete [duplicate]

I've installed and configured a Jupyter-notebook webserver, and setup a service in /etc/systemd/system/: jupyer-notebook.service ----------------------- [Unit] Description=Jupyter Workplace [...
0
votes
0answers
83 views

Running jupyter notebook on a remote server that is behind a bastion server on a local computer

The quetion might be a little confusing so allow me to clear it up. I have a remote server, let's call it called remote.server.com which is accessible via ssh only by first tunneling into another ...
2
votes
1answer
166 views

How to change my jupyter notebook working directory?

I would like to change my jupyter notebook working directory, how should I proceed? If it is possible, I also want to keep the current working directory.
0
votes
0answers
167 views

Launch jupyter lab from dock

Usually when I launch jupyter lab, I open a new tab in tilda, and execute jupyter lab. What I would like to do is create a shortcut in the dock, that does all this for me. I made a file, jupyterlab....
0
votes
0answers
43 views

Ubuntu 18.04 restarts when running SVD (via Python)

I have a pandas.DataFrame that takes 810 MB of memory. When running numpy.linalg.svd on that DataFrame (yes, I know it is heavy) the computer just restarts immediately. This Q&A doesn't seem to ...
0
votes
0answers
55 views

Impossible to launch jupyter outside of a virtual environment and to create another environment

When trying to launch it, my kernell tells me that no there is module named ipykernel_launcher : mike@mike-Inspiron-3543:~/Documents/programming/collective$ jupyter notebook [I 00:04:06.339 ...
0
votes
1answer
161 views

Can't install Jupyter Notebook in Atom

I can't install Jupyter Notebook in Atom. I get these errors. bufferutil@1.2.1 install /tmp/apm-install-dir-11881-6115-cmx7ut.qatf6tuik9/node_modules/jupyter-notebook/node_modules/bufferutil node-...
0
votes
1answer
1k views

Ubuntu 18.04 - jupyter notebook - Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

I am trying to run jupyter notebook on Ubuntu 18.04. After its installation by: sudo apt-get install python3-notebook jupyter-core python-ipykernel sudo apt-get install python3-dev sudo apt-get ...
0
votes
0answers
55 views

Font problem in jupyter notebook

I am new to ubuntu and using python 3 and writing my code on jupyter notebook 4.4.0 but I am facing this weird problem that fonts are very small and i can't even tell whether i've entered the space ...
0
votes
2answers
1k views

/usr/local/bin/python3: No module named pip Error on or near line 85; exiting with status 1

I am installing Intel OpenVINO Toolkit in which I configure the model optimizer. (ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/...
0
votes
1answer
63 views

problem with two versions of python

I'm new to python and ubuntu. I installed two versions of python to be able to use them in jupyter .. but when i checked the version of numpy i got python import numpy numpy.__version__ and got &...
1
vote
0answers
749 views

Jupyter kernel dies when I attempt large data processing [closed]

When I try to use this IPython notebook to process 150000 lines of data the kernel of the notebook dies. I asked about this issue on Stack Overflow in Spanish but nobody found a way to make a ...
1
vote
1answer
91 views

Laptop powers off automatically : Ubuntu 18.04 & Jupyter Notebook running Python 2

My laptop (HP Elitebook 840 G5) just powers off, in the middle of using Jupyter Notebook (running/editing python scripts). Every time I had do a hard reset of the laptop to boot it back on. I am using ...
0
votes
0answers
25 views

How to install jupyter notebook [duplicate]

I have followed jupyter notebook installation steps: python3 -m pip install jupyter I am using python3.5. After installation, I try to execute the command: jupyter notebook --ip=127.0.0.1 I got ...
1
vote
1answer
2k views

Jupyter: An error occurred while creating a new notebook

I have ununtu 18.04.1 installed as well as the anaconda 4.5.8. After typing: $ jupyter notebook I get the standard jupyter homepage. But when I try to click New/Notebook/Python3 I get the ...
0
votes
0answers
198 views

dpkg returns an error code (1)

After doing this sudo apt upgrade I get this error message. [EnableNBExtensionApp] CRITICAL | Bad config encountered during initialization: [EnableNBExtensionApp] CRITICAL | Unrecognized flag: '--...
0
votes
1answer
2k views

I always have to access Jupyter Notebook as a root user

Every time, I use Jupyter Notebook in Ubuntu 18.04, I have to access sudo bash first and then type jupyter notebook --allow-root to use Jupyter Notebook without any problem. This is because when I use ...
0
votes
1answer
26 views

Check the difference between two apt packages

Is there any mechanism to check the difference between two packages? Use case: I'd like to install jupyter notebook but searching apt for jupyter returns plenty of hits (see below). How can I tell ...
0
votes
0answers
75 views

Help installing jupyter notebook on docker image

I am trying to install a docker image for pytorch but I want to use jupyter notebook to code pytorch. How can I edit the code to allow me to do this?
2
votes
1answer
794 views

Jupyter import .py error [closed]

I am trying to import a .py file that I have in jupyter notebook. import torch from torch import Tensor import dlc_practical_prologue as prologue And this is the error I got. dlc_practical_prologue....
0
votes
2answers
2k views

Cannot run jupyter notebook in Ubuntu

I have installed jupyter notebook using: sudo pip3 install jupyter It seemed to work but I got the error: The directory '/home/user1/.cache/pip/http' or its parent directory is not owned by the ...
-3
votes
1answer
1k views

matplotlib.pyplot is not working!

I'm using Jupyter Notebook, and matplotlib.pyplot is not working. I'm using Python 2.7 in Ubuntu 14.04.
0
votes
0answers
82 views

How to load R Kernel Ubuntu

I am trying to load the R kernel into Juypter Notebook. I have the Ubuntu op sys. 16.04.3 LTS. I am using the instructions from here. Everything seems to fine until I try to run the following code: ...
1
vote
0answers
805 views

How to install and connect Mathjax to Jupyter notebook 5.2.1

I have jupyter notebook from Anaconda distribution. I recently updated jupyter with `$conda update notebook'. I am interested to know how to use LaTex format with Jupyter. Apparently Mathjax is needed ...
1
vote
1answer
1k views

Kernel dead in jupyter notebook, matplotlib seems not to work

I recently updated my anaconda package with $conda update conda and then $conda update anaconda After that update my matplotlib is not working anymore and every time I try to run Jupyter notebook and ...
0
votes
1answer
420 views

How to run jupyterhub on ubuntu server (AWS)

I am trying to run jupyterhub with multi users from AWS but I receive an error. I use the command ubuntu@ip-172-31-23-74:~$ sudo /home/ubuntu/.local/bin/jupyterhub and this is the error that I ...
0
votes
0answers
267 views

Python3 kernel available when Jupyter notebook is opened from my home directory, but not any other directories

I am trying to set up a deep learning environment on my Ubuntu machine (16.04). I have installed Anaconda and when I type python -V Python 3.6.1 :: Anaconda 4.4.0 (64-bit) When I launch Jupyter ...
1
vote
0answers
113 views

A certain ufw rule doesn't work after reboot

I searched over the web and I could see related issues, still I couldn't figure out the root cause. I am not familiar with iptables, but to secure a ubuntu 16.04 based computer which hosts a Jupyter ...
1
vote
0answers
188 views

How to get Anaconda and Sublime to run python with the same interpreter

After installing both anaconda and sublime, I notice that I can import libraries using a jupyter notebook but am not able to import anything when running a script on sublime. How do I go about getting ...
0
votes
0answers
51 views

Can't find folder that file was just written to [duplicate]

I just wrote a new config file for Jupyter in my shell: jupyter notebook --generate-config The output of that command says: Writing default config to: /home/me/.jupyter/jupyter_notebook_config.py ...
1
vote
1answer
1k views

How to Access Google Drive in Jupyter Notebook on Ubuntu

I've just installed a dual boot of ubuntu on my XPS15. I want to use this as a development environment for python as I've had many issues using windows and I was told that this was the best solution. ...
1
vote
1answer
4k views

How can I specify the Jupyter notebook running path?

I have both Python 2 and 3 installed on my 16.04. However, it seems that Jupyter uses Python 2 as front-end instead of Python 3. Check out image. The problem is that I want to update Jupyter to 6.0 ...
1
vote
3answers
3k views

Kernel dies in Jupyter Notebook after upgrading Ubuntu from 16.10 to 17.04

I have recently upgraded my Ubuntu from 16.10 to 17.04. The kernel dies when I start Jupyter notebook. Note: I did not install Jupyter notebook using Conda. Thanks
1
vote
1answer
995 views

Cannot update Jupyter to the latest version on Ubuntu 16.04

I use Jupyter notebooks with Python 3.5 and Python 2.7. However, I cannot update Jupyter: vladimir@vladimir-ubuntu:~$ jupyter --version 4.2.0 But pip3 freeze gives me the following vladimir@...
0
votes
0answers
657 views

How to run jupyter-notebook without sudo?

I can't run jupyter-notebook without using sudo. When trying to do this I get: [E 20:54:49.571 NotebookApp] Uncaught exception GET /tree?token=7037406b1f5eafad97b53dfa9d12677d2b10ff0fb49a5669 (127.0....
1
vote
2answers
2k views

How to install cling kernel in Jupyter notebook

From How to install cling?, I've downloaded the pre-installed binaries for cling-ubuntu on https://root.cern.ch/download/cling/ $ wget https://root.cern.ch/download/cling/cling_2017-03-30_ubuntu16....
0
votes
1answer
698 views

There's no choice to create a Python2.7 notebook in Jupyter

My Jupyter notebook doesn't have a choice for creating a Python notebook. Can you please why could the reason be and how to fix it? I expect to see something like the following: But this is what I ...
0
votes
1answer
4k views

SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform

I am not sure how to fix this problem. Please suggest solution: mona@pascal:~$ sudo chmod -R 777 /home/mona/.cache/pip/ mona@pascal:~$ sudo ls -l /home/mona/.cache/ total 68 drwxr-xr-x 3 mona mona ...
0
votes
2answers
563 views

#include <git2.h> compilation terminated. && ImportError: No module named cffi

please suggest fixes: $ sudo pip2 install pygit2 The directory '/home/mona/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the ...
1
vote
1answer
264 views

How do upgrade pip3 when xenial says it's already installed but jupyter says it's not?

Context: Xenial, pip3, jupyter I'm trying to install jupyter which depends on pip3. Jupyter says to install it, but apt says I already have the most recent version installed. What goes on here? ...
1
vote
1answer
652 views

How to access pyspark in anaconda installed in another user?

I have two user user1 and user2 with latter one having root privilege.I have installed spark and hadoop in user2. Now i have installed Anaconda2 on user1 and when iam trying to run my job on jupyter ...
1
vote
1answer
1k views

How to handle jupyter notebook files in Ubuntu?

Recently the project jupyter added the mime-type to the ipynb files: application/x-ipynb+json, and I'd like to launch easily these files without having to allways launch the terminal command: cd /...