Questions tagged [jupyter-console]

1

votes
0

answer
86

Views

unable to download nbextensions' javascript and css file

I am trying to install nbextensions to my jupyter notebook. When opening the notebook, I can see the tab for the nbextensions but is is empty. There is a reload button moving but nothing ever shows. I went to command prompt and the following commands were executed successfully: pip install jupyter_c...
sammmm
1

votes
0

answer
1.1k

Views

How to install JupyterHub with Docker on a local machine and in a sub domain

I will run JupyterHub in a sub domain. Here is the Dockerfile, jupyterhub_config.py, .gitlab-ci.yml. My first question is how to configure the jupyter_config.py. How can I load the jupyterhub_config.py on the build in the container? How do I start Jupyterhub in the .gitlab-ci.yml for tests and how...
Aaron
1

votes
1

answer
455

Views

Jupyterhub terminal path variable

When I open a terminal on JupyterHub and try to run commands that I've placed in the machine's path, it says 'command not found.' The default PATH variable on Jupyterhub terminal seems to be /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin and I'm wondering why it doesn't use the PATH as defined on the...
Evan
1

votes
1

answer
214

Views

debug magic function in ipython console

I have a file called foo.py. In that file I have a bunch of functions and I would like to debug one of them, called foo.bar by setting a breakpoint but not hardcoding it using set_trace. I am working in an IPython console and I know there is a %debug magic function that can be used for this purpose...
Alex
2

votes
1

answer
351

Views

Jupyter Notebook autocomplete dialog in Jupyter Lab?

In Jupyter Notebook if you type 'p' you get this handy-dandy dialog: Is there a way to access this or a similar feature in Jupyter Lab?
M.R.
5

votes
4

answer
9.9k

Views

Jupyter Notebook (only) Memory Error, same code run in a conventional .py and works

I have an assignment for a Deep Learning class, and they provide a Jupyter notebook as a base code, the thing is that after running the data import and reshape, jupyter notebook through a 'Memory Error', after some analysis y tried to compile the same code in a normal .py file, and everything runs w...
6

votes
0

answer
227

Views

Get result object from iPython / Jupyter embedded Qt console

I have an embedded Jupyter console in a PyQt5 application implemented using the RichJupyterWidget widget available here. The console integration itself works fine, the Jupyter console is embedded in a Widget, Python code can be executed and the result is displayed within the console itself. What I n...
Isma
1

votes
3

answer
7.7k

Views

Change Jupyter Notebook's localhost:8888 default server with other

i have two machines connected via lan. other system's ip address is 192.1xx.x.x i want to run jupyter ipython query's on my machine which can be exexuted on his machine. at the start of ipython notebook, there is a black screen which contains this: [I 11:12:52.802 NotebookApp] The Jupyter Notebook i...
Shubham Ringne
4

votes
1

answer
214

Views

Using Vi Keys in a Jupyter Console

I would like to know how to use vi-like key bindings in a Jupyter console -- not just with ipython, but with any kernel. Previous answers show this is possible for ipython. So, perhaps there is some flag or config file where this can be specified. Jupyter does not appear to have an equivalent to i...
Joe Shields
2

votes
0

answer
446

Views

Embedding Jupyter in Qt Application

I have a Qt application with an embedded Jupyter QtConsole. This is the code that I use to create the Jupyter console: from qtconsole.rich_jupyter_widget import RichJupyterWidget from qtconsole.inprocess import QtInProcessKernelManager class EmbeddedJupyterConsole(RichJupyterWidget): def __init__(se...
user3870353
2

votes
0

answer
360

Views

How to activate a conda virtualenv in a Jupyter Notebook terminal?

In a Jupyter Notebook terminal (used from a browser) I created a new conda environment. But when I tried to activate it using: source activate But I got following error: /bin/sh: 5: source: not found I also tried: activate and conda activate but both of these approaches haven't worked. I'm using...
Marcin Możejko
2

votes
0

answer
157

Views

jupyter console and ipython

In my conda environment, I installed both jupyter and ipython. The result for conda list jupyter and conda list ipython are as follows: jupyter_client 5.1.0 py35_0 defaults jupyter_console 5.2.0 py35_0 defaults jupyter_contrib_core...
Liu Sha
3

votes
8

answer
22.8k

Views

Repeated “Kernel died, restarting” forever

When I attempt to run $ jupyter qtconsole The console shows up, with the message Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died, restarting...
Evgeni Sergeev
3

votes
1

answer
535

Views

Jypyter QTconsole not returning error messages

Am i missing something? I did get newest Winpython (WinPython-64bit-3.4.4.4Qt5) package and when i'm trying to run code with %run code in QTconsole everything goes well but error messages are not printing to console. Am i using %run all wrong or is it bug? I'm using windows 7
Henkku8
2

votes
2

answer
2.8k

Views

How to start jupyter notebook in linux sub system of windows 10? [closed]

The new update win10 provides a linux(Ubuntu?) sub system in shell. It is powerful, and faster than virtual OS. It runs everything well except jupyter notebook. I've start the service in bash shell of win 10 . The problem is when I enter into by broswer (127.0.0.1:8888 or other port which noticed...
JerryWind
2

votes
0

answer
36

Views

jupyterlab/[email protected]" is not compatible with the current JupyterLab

I want to install the littlest jupyterhub via .gitlab-ci.yml in a subdomain. Here is my .gitlab-ci.yml. I get this error message. I need a little help to fix this error message. I know the littlest jupyterhub is still in beta. Is it possible to add packages like pandas, mathplotlib to install with a...
joerg
2

votes
0

answer
219

Views

How to start Jupyter Console without colors?

jupyter console --colors=NoColor makes In [x]: and Out [x]: colorless but any error messages are still colored.
avamsi
4

votes
1

answer
209

Views

Prevent Jupyter Notebooks from changing the cwd

My folder structure is set out like this: - project/ - notebooks/ - notebook1.ipynb - src/ - module1.py - __init__.py - data/ - data.csv Such that I can separate my source code from the actual analysis. I would like to be able to import modules from src and use them in notebook1, however whenever I...
Akhil Nair
2

votes
3

answer
1.2k

Views

pandas display: truncate column display rather than wrapping

With lengthy column names, DataFrames will display in a very messy form seemingly no matter what options are set. Info: I'm in Jupyter QtConsole, pandas 0.20.1, with the following relevant options specified at startup: pd.set_option('display.max_colwidth', 20) pd.set_option('expand_frame_repr', Fals...
Brad Solomon
1

votes
0

answer
75

Views

Jupyter path error when on different server with mapped home directory

I work on two servers, serverA and serverB. On both of them, my home directory is mapped to the same location. Other than the home directory, the servers have independent file systems. This includes system directories and application directories. So, I created a special .bashrc_serverb file that is...
abalter