Kite: not running - jupyter-lab

for me, with jupyterlab 3.0.16 and jupyterlab-kite 2.0.2 and kite engine running, the bottom still says "Kite: not running" after I restarted the kernel many times.Why?

Kite doesn't seem to be working with jupyterlab 3.0.16 at the moment. I had the same problem for a week and then I installed version 3.0.14 and seems to be working now.
Try installing jupyterlab 3.0.14
pip install jupyterlab==3.0.14
The problem is also mentioned here.

Their download page says it is temporarily unavailable, switch to tabnine instead

Related

Just updated Ubuntu to 22.04, now I can't open Jupyter Notebook

When I try to launch Jupyter Notebook, the browser launches and I get the following error:
Access to the file was denied
The file at /home/benjamin/.local/share/jupyter/runtime/nbserver-11758-open.html is not readable.
It may have been removed, moved, or file permissions may be preventing access.
I tried running
jupyter lab clean --all
pip3 install jupyterlab --force-reinstall
as per the suggestion from here: Jupyter Notebook: Access to the file was denied. The commands ran, but I still get the Access to the file was denied error. Also, on the reinstall command it spits this out:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 4.2.5 requires pyqt5<5.13, which is not installed.
spyder 4.2.5 requires pyqtwebengine<5.13, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.
anaconda-project 0.9.1 requires ruamel-yaml, which is not installed.
spyder 4.2.5 requires jedi==0.17.2, but you have jedi 0.18.1 which is incompatible.
spyder 4.2.5 requires parso==0.7.0, but you have parso 0.8.3 which is incompatible.
sphinx 4.0.1 requires Jinja2<3.0,>=2.3, but you have jinja2 3.1.1 which is incompatible.
sphinx 4.0.1 requires MarkupSafe<2.0, but you have markupsafe 2.1.1 which is incompatible.
python-language-server 0.36.2 requires jedi<0.18.0,>=0.17.2, but you have jedi 0.18.1 which is incompatible.
fermipy 1.0.1+5.g5a57 requires astropy<4, but you have astropy 4.2.1 which is incompatible.
which may or may not be part of the problem.
Cross posted here: https://discourse.jupyter.org/t/after-updating-to-ubuntu-22-04-i-am-no-longer-able-to-access-jupyter-notebook/13991
here: https://askubuntu.com/questions/1404330/after-updating-to-ubuntu-22-04-i-am-no-longer-able-to-access-jupyter-notebook
and on reddit: https://www.reddit.com/r/learnpython/comments/uaipzo/i_just_updated_my_machine_to_ubuntu_2204_now_i/
UPDATE: I am able to access the notebook now by using the URL printed to the console. (just copy and paste it into the Firefox browser)
I would still like to figure out how to get it to open with just the 'jupyter notebook" command the way it used to work before the update, but for now this is a useful workaround.
did you try setting
c.NotebookApp.use_redirect_file = False
In the jupyter_notebook_configuration.py file?
If you tried, did you remove the '#' at the start of the line?
I had the same problem with Ubuntu 22.04 and this fixed it.
I first created the file with :
jupyter notebook --generate-config
then I uncommented and change the line c.NotebookApp.use_redirect_file as you said
and now it works !
I faced the same issue using Firefox from snap on Ubuntu 22.04.
I noticed that setting c.NotebookApp.use_redirect_file = False in generated jupyter_notebook_config.py works when launching jupyter notebook, but fails for jupyter-lab (error you pasted). I found that doing something similar to fix the problem for jupyter-lab:
jupyter server --generate-config
Then edit the generated ./jupyter/jupyter_server_config.py and set c.ServerApp.use_redirect_file = False. Now running jupter-lab works in snap firefox too. Maybe you can try this way and just run via jupyter-lab if it works for you too.
Btw. none of this is needed if you just use Chrome, somehow the problem only occurs for firefox from snap on Ubuntu 22.04.
Otherwise you could check out jupyter notebook --debug and/or reinstalling JupyterLab.
I use epiphany web browser instead of Firefox as a default web browser and everythings work fine
The problem I found is that the launcher is not using a path to Jupyter Notebook that works. From terminal I get:
$ whereis jupyter-notebook
jupyter-notebook: /home/brombo/miniconda3/bin/jupyter-notebook /home/brombo/.local/bin/jupyter-notebook
The command /home/brombo/miniconda3/bin/jupyter-notebook will start notebook but /home/brombo/.local/bin/jupyter-notebook will not. If you use the first in the exec line of .local/share/applications/jupyter-notebook.desktop everything works -
[Desktop Entry]
Name=Jupyter Notebook
Comment=Run Jupyter Notebook
Exec=/home/brombo/miniconda3/bin/jupyter-notebook %f
Terminal=true
Type=Application
Icon=notebook
StartupNotify=true
MimeType=application/x-ipynb+json;
Categories=Development;Education;
Keywords=python;

Spyder not launching in python 3.7

Several days ago, Spyder stopped running. I tried almost everything on forums. I desinstalled it and downloaded last version of anaconda package, but to no avail.
This is what the anaconda prompt shows me
As I said, I tried uploading qt, PySide, and even tried to locate .spyder2 to erase it as is said in Anaconda webpage.
I really don't know what else to try
EDIT: Don't know if you need versions of anything, because as I said, it is the standard last version package available in Anaconda.
EDIT2: I'm using Windows 10

Jupyter Notebook's RISE Missing Slideshow Button

I followed the instructions on installing RISE for Jupyter notebook with Anaconda (conda) but the "Enter/Exit RISE Slideshow" button never showed in the toolbar.
I followed the recommendations on solving the problem in the two closed RISE issues (#137, #275), but with no luck. I updated Jupyter to the latest version, started a new notebook, hard refreshed the browser page, reinstalled Rise and still no button.
I also saw this SO question, which is different from my case since I never saw the button, and I do not have nbextensions to begin with. Still, their recommendation did not work.
For practical reasons, I cannot have a separate environment just for RISE and presentation making.
I'm having the same problem on two machines, with different operating systems and different Conda packages, so it may be a RISE package problem. On one of the machines, I have:
Google Chrome 66.0.3359.117 (64-bit)
conda 4.5.1 with python 3.6.4
jupyter 1.0.0
jupyter_core 4.3.0
notebook 5.0.0
rise 5.2.0 py36_0 damianavila82
MacOS High Sierra (10.13.4)
My conda packages seem to be in good shape and without missing dependencies too.
$ jupyter nbextension list
Known nbextensions:
config dir: /Users/welshamy/Applications/anaconda3/etc/jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
rise/main enabled
- Validating: OK
This is a package compatibility issue. I solved the problem by doing the following:
Upgrade conda packages from the command line:
$ conda update --all
Restart jupyter-notebook session.
Restart web browser.
Open a new notebook.
Done.
Just restart the browser
if not create a new notebook

Anaconda navigotor and its applications wont work

Anaconda navigator along and its enclosed applications stopped working when qtpy4 package was inserted manually, clicking their .exe icons wont raise any errors as nothing happens.
But upon manual launch of
C:\ProgramData\Anaconda2\Scripts\anaconda-navigator.exe
or
C:\ProgramData\Anaconda2\Scripts\spyder.exe
Raised the attached error
Qtpy error
*It is worth mentioning jupyter-notebook.exe launched from
C:\ProgramData\Anaconda2\Scripts\jupyter-notebook.exe
Worked fine
A simple reinstall sufficed, turns out the problem was in pipeline for pyqt as it broke conflicting qt5 binding.
P.s Happened when I accidentally install qt4 package over already
existing qt5 package in anaconda.

IPython notebook connection failed issue

This is probably very simple; and I am embarrassed to ask; but I spent a long time trying to solve it already. I am trying to use an IPython notebook and on the click to get a Python 3 notebook, I often (but not always) get:
Connection failed
A connection to the notebook server could not be established. The notebook will continue trying to connect, but until it does, you will NOT be able to run code. Check your network connection or notebook server connection."
The obvious answer might appear that I have no internet connection; but I can access the internet and interact with external websites. It seems to be a problem of connecting with something local to my computer.
The really frustrating part is that sometimes in the past this has worked with no problem. That suggests to me that it is a simple setting issue. Does anyone have suggestions about how I can debug this?
My operating system is Windows (both 7, and 8.1). I am also using Anaconda 2.3 and Python 3.4
Downgrade Tornado to 5.1.1 from 6.0, that will solve it.
Apparently, Tornado 6.0 breaks notebook.
I anwser a similar question. And I agree with tchakravarty.
Maybe resulting from your proxy?I have been troubled for one afternoon for that,because I use nginx proxy_pass fo my jupyter to proxy to that port. But it always didn't connect, i look through the docs of jupyter notebook and found that Jupter Proxy Issue
And i change to use nginx rewrite rather than proxy, it works. So in my case, it can be caused by proxy.
I was also facing the same problem and as the few people suggested to update the tornado version , I did but it din't help.
What helped me was ---
I ran this two following commands -
python2 -m pip install --upgrade ipykernel
python2 -m ipykernel install
In Jupyter Notebooks, the kernel is responsible for executing Python code. When you install the Anaconda System for Python3, this version also becomes the default for the notebooks. In order to enable Python 2.7 in your notebooks, you need to install a new kernel.

Resources