You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have downloaded jupyter notebook in termux, however it gives me the following problem when I start jupyter notebook,can anyone help me to solve it?
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/jupyter-notebook", line 5, in
from notebook.app import main
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/notebook/app.py", line 9, in
from jupyter_client.utils import ensure_async # type:ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/jupyter_client/init.py", line 3, in
from .asynchronous import AsyncKernelClient
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/jupyter_client/asynchronous/init.py", line 1, in
from .client import AsyncKernelClient # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/jupyter_client/asynchronous/client.py", line 8, in
import zmq.asyncio
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/init.py", line 52, in
from zmq import backend
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/init.py", line 30, in
raise original_error from None
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/init.py", line 25, in
_ns = select_backend(first)
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/select.py", line 31, in select_backend
mod = import_module(name)
^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/cython/init.py", line 6, in
from . import _zmq
ImportError: dlopen failed: cannot locate symbol "PyExc_ImportError" referenced by "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/cython/_zmq.cpython-312.so"...
Problem description
I have downloaded jupyter notebook in termux, however it gives me the following problem when I start jupyter notebook,can anyone help me to solve it?
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/jupyter-notebook", line 5, in
from notebook.app import main
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/notebook/app.py", line 9, in
from jupyter_client.utils import ensure_async # type:ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/jupyter_client/init.py", line 3, in
from .asynchronous import AsyncKernelClient
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/jupyter_client/asynchronous/init.py", line 1, in
from .client import AsyncKernelClient # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/jupyter_client/asynchronous/client.py", line 8, in
import zmq.asyncio
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/init.py", line 52, in
from zmq import backend
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/init.py", line 30, in
raise original_error from None
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/init.py", line 25, in
_ns = select_backend(first)
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/select.py", line 31, in select_backend
mod = import_module(name)
^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/cython/init.py", line 6, in
from . import _zmq
ImportError: dlopen failed: cannot locate symbol "PyExc_ImportError" referenced by "/data/data/com.termux/files/usr/lib/python3.12/site-packages/zmq/backend/cython/_zmq.cpython-312.so"...
What steps will reproduce the bug?
here is my full command about termux
pkg install python
pkg install numpy
pkg install python-numpy
pkg install python-pandas
pkg install rust
pkg i binutils-is-llvm
cargo install maturin
pkg install -y libjpeg-turbo libtiff
pip install pillow
pkg install -y freetype libpng
pkg install vim
pkg install pandoc
apt install libxml2
apt install libxslt
pip install lxml
MATHLIB=m pip install markitdown
MATHLIB=m pip install jupyter
pip install --upgrade setuptools
pip install Pyrebase4
wget https://its-pointless.github.io/setup-pointless-repo.sh
bash setup-pointless-repo.sh
pkg install scipy
pip install kiwisolver cycler pyparsing python-dateutil
pkg install libjpeg-turbo libtiff littlecms tk libwebp
pkg install libzmq libcrypt pkg-config
pkg install clang
pip install jupyter
pip install pandas
jupyter notebook --generate-config
LDFLAGS="-lpython3.12" pip3 install --no-cache-dir pyzmq
jupyter notebook
LDFLAGS=-lpython3.11 pip install pyzmq --force-reinstall --no-cache-dir
pkg install pyzmq
cd pyzmq/
CC=clang python setup.py build
SODIUM_INSTALL=system CC=clang pip install --no-binary=pyzmq pyzmq
What is the expected behavior?
No response
System information
The text was updated successfully, but these errors were encountered: