Warut_t
February 17, 2024, 8:41am
1
I am having this problem now. Any solution or alternative frontend to link with IPython in Termux (nonroot Android)?
opened 05:02AM - 23 Aug 23 UTC
bug
- [ ] I checked the documentation and found no answer
- [ ] I checked to make s… ure that this issue has not already been filed
- [ ] I'm reporting the issue to the correct repository
Hi , i use jupyter notebook in android through termux . In the Android version 13 jupyter notebook no longer works in termux proot ubuntu environment ,it works fine in Android 12.
Android 13 restricts ifconfig and similar commands in proot ubuntu and termux environment but jupyter notebook and lab works in termux .
The error log in
[W 2023-08-10 11:14:30.893 ServerApp] wrote error: 'Kernel does not exist: a8926e27-883d-45f8-8189-aee028356851' Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/tornado/web.py", line 1786, in _execute result = await result File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/kernels/handlers.py", line 73, in get model = await ensure_async(km.kernel_model(kernel_id)) File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/kernels/kernelmanager.py", line 501, in kernel_model self._check_kernel_id(kernel_id) File "/usr/local/lib/python3.10/dist-packages/jupyter_server/services/kernels/kernelmanager.py", line 532, in _check_kernel_id raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id) tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: a8926e27-883d-45f8-8189-aee028356851)
/resolver/scr.cpp permission denied .
Is there any workaround for this to use in termux proot ubuntu environment.
Thank you
1 Like
Android 13, Samsung Galaxy A22. In termux with the help of proot-distro install debian (ubuntu), then with the help of pyenv you can install python 3.12.4, in a corresponding virtual environment you can install jupyter and run ipython (works fine), but, despite it running jupyter lab, I still can’t activate the kernel and it doesn’t work.