Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jupyter kernelspec list does not show the tslab kernel #34

Open
danvln opened this issue Jul 10, 2020 · 5 comments
Open

jupyter kernelspec list does not show the tslab kernel #34

danvln opened this issue Jul 10, 2020 · 5 comments

Comments

@danvln
Copy link

danvln commented Jul 10, 2020

Is anything that's broken in this solution, I installed it but I do not see the kernel running. Anything special that I should do to get it running? There is no error, or issue that I see. How do I investigate it?

@danvln
Copy link
Author

danvln commented Jul 11, 2020

Any input on this?

@yunabe
Copy link
Owner

yunabe commented Jul 12, 2020

Could you share your information about your environment and what command you run?

Internally, tslab install invokes python/install.py with python3 (python in Windows) internally (source).

One possible reason of the problem is the Python tslab used to install the kernel is different from the Python used from your jupyter command (e.g. python3 and python2 are mixed). In Unix-like system, the kernel configs are usually installed under $HOME/.local/share/jupyter/kernels/tslab.

@we684123
Copy link

me too!

Debian GNU/Linux 10 (buster)
python3.8.4
jupyter core : 4.6.3
jupyter-notebook : 6.0.3
qtconsole : not installed
ipython : 7.16.1
ipykernel : 5.3.3
jupyter client : 6.1.6
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : not installed
nbformat : 5.0.7
traitlets : 4.3.3

docker

FROM python:3.8 as builder
MAINTAINER we684123
# for Atom_Hydrogen_remote_kernels_by_docker


RUN python -m pip install --upgrade pip 
RUN pip install notebook 
RUN apt-get update
RUN apt install npm -y
RUN npm install -g tslab 


FROM builder

EXPOSE 8888

CMD ["jupyter", "notebook", "--ip" ,"0.0.0.0", "--no-browser", "--allow-root","--port=8888"]

@yunabe
Copy link
Owner

yunabe commented Jul 20, 2020

Hi we684123,

You have to run tslab install after npm install -g tslab.
https://github.com/yunabe/tslab#installing-tslab-1

@we684123
Copy link

Hi yunabe
Thank you very much! m(_ _)m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants