OS | Termux |
JupyterLab |
[Installation]
[1] 安裝 ipython
pip install ipython
$ pip install ipython Collecting ipython Downloading https://files.pythonhosted.org/packages/b0/00/afc3968a3cdf5f30c5c9dfb8e6a61e63231d6869a461dc1ff418280c5ea4/ipython-7.14.0-py3-none-any.whl (782kB) |████████████████████████████████| 788kB 854kB/s Collecting pygments (from ipython) Downloading https://files.pythonhosted.org/packages/2d/68/106af3ae51daf807e9cdcba6a90e518954eb8b70341cee52995540a53ead/Pygments-2.6.1-py3-none-any.whl (914kB) |████████████████████████████████| 921kB 705kB/s Collecting backcall (from ipython) Collecting decorator (from ipython) Collecting pickleshare (from ipython) Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 (from ipython) Downloading https://files.pythonhosted.org/packages/e4/a7/81b39aa50e9284fe2cb21cc7fb7de7817b224172d42793fd57451d38842b/prompt_toolkit-3.0.5-py3-none-any.whl (351kB) |████████████████████████████████| 358kB 2.7MB/s Requirement already satisfied: setuptools>=18.5 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython) (41.2.0) Collecting jedi>=0.10 (from ipython) Downloading https://files.pythonhosted.org/packages/f3/3f/67f027e18c60a800875df1a0894a2436ce9053637fa39725766e937c0a71/jedi-0.17.0-py2.py3-none-any.whl (1.1MB) |████████████████████████████████| 1.1MB 1.6MB/s Collecting pexpect; sys_platform != "win32" (from ipython) Downloading https://files.pythonhosted.org/packages/39/7b/88dbb785881c28a102619d46423cb853b46dbccc70d3ac362d99773a78ce/pexpect-4.8.0-py2.py3-none-any.whl (59kB) |████████████████████████████████| 61kB 2.2MB/s Collecting traitlets>=4.2 (from ipython) Downloading https://files.pythonhosted.org/packages/ca/ab/872a23e29cec3cf2594af7e857f18b687ad21039c1f9b922fac5b9b142d5/traitlets-4.3.3-py2.py3-none-any.whl (75kB) |████████████████████████████████| 81kB 2.7MB/s Collecting wcwidth (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython) Collecting parso>=0.7.0 (from jedi>=0.10->ipython) Downloading https://files.pythonhosted.org/packages/b5/61/998cce9e7476de000d031874df26a18f67cb73448164fc44a98f0c55920b/parso-0.7.0-py2.py3-none-any.whl (100kB) |████████████████████████████████| 102kB 2.5MB/s Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython) Collecting six (from traitlets>=4.2->ipython) Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting ipython-genutils (from traitlets>=4.2->ipython) Installing collected packages: pygments, backcall, decorator, pickleshare, wcwidth, prompt-toolkit, parso, jedi, ptyprocess, pexpect, six, ipython-genutils, traitlets, ipython Running setup.py install for backcall ... done Successfully installed backcall-0.1.0 decorator-4.4.2 ipython-7.14.0 ipython-genutils-0.2.0 jedi-0.17.0 parso-0.7.0 pexpect-4.8.0 pickleshare-0.7.5 prompt-toolkit-3.0.5 ptyprocess-0.6.0 pygments-2.6.1 six-1.14.0 traitlets-4.3.3 wcwidth-0.1.9 WARNING: You are using pip version 19.2.3, however version 20.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. |
因有警告,可以執行:pip install --upgrade pip 來更新一下 pip
測試 ipython:
$ ipython Python 3.8.3 (default, May 14 2020, 14:40:29) Type 'copyright', 'credits' or 'license' for more information IPython 7.14.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: import math |
[2-1] 安裝 jupyterlab (fail)
pip install jupyterlab
Collecting jupyterlab Downloading jupyterlab-2.1.2-py3-none-any.whl (7.8 MB) |████████████████████████████████| 7.8 MB 3.7 MB/s Collecting jupyterlab-server<2.0,>=1.1.0 Downloading jupyterlab_server-1.1.4-py3-none-any.whl (29 kB) Collecting tornado!=6.0.0,!=6.0.1,!=6.0.2 Downloading tornado-6.0.4.tar.gz (496 kB) |████████████████████████████████| 496 kB 4.7 MB/s Collecting notebook>=4.3.1 Downloading notebook-6.0.3-py3-none-any.whl (9.7 MB) |████████████████████████████████| 9.7 MB 2.7 MB/s Collecting jinja2>=2.10 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) |████████████████████████████████| 125 kB 3.2 MB/s Collecting jsonschema>=3.0.1 Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB) |████████████████████████████████| 56 kB 1.0 MB/s Collecting requests Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 1.6 MB/s Collecting json5 Downloading json5-0.9.4-py2.py3-none-any.whl (17 kB) Collecting pyzmq>=17 Downloading pyzmq-19.0.1.tar.gz (1.2 MB) |████████████████████████████████| 1.2 MB 3.7 MB/s Collecting jupyter-client>=5.3.4 Downloading jupyter_client-6.1.3-py3-none-any.whl (106 kB) |████████████████████████████████| 106 kB 3.5 MB/s Collecting nbconvert Downloading nbconvert-5.6.1-py2.py3-none-any.whl (455 kB) |████████████████████████████████| 455 kB 3.4 MB/s Collecting Send2Trash Downloading Send2Trash-1.5.0-py3-none-any.whl (12 kB) Collecting prometheus-client Downloading prometheus_client-0.7.1.tar.gz (38 kB) Requirement already satisfied: ipython-genutils in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from notebook>=4.3.1->jupyterlab) (0.2.0) Collecting terminado>=0.8.1 Downloading terminado-0.8.3-py2.py3-none-any.whl (33 kB) Requirement already satisfied: traitlets>=4.2.1 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from notebook>=4.3.1->jupyterlab) (4.3.3) Collecting nbformat Downloading nbformat-5.0.6-py3-none-any.whl (170 kB) |████████████████████████████████| 170 kB 3.0 MB/s Collecting ipykernel Downloading ipykernel-5.2.1-py3-none-any.whl (118 kB) |████████████████████████████████| 118 kB 3.1 MB/s Collecting jupyter-core>=4.6.1 Downloading jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB) |████████████████████████████████| 83 kB 540 kB/s Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1.tar.gz (19 kB) Requirement already satisfied: six>=1.11.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jsonschema>=3.0.1->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (1.14.0) Collecting pyrsistent>=0.14.0 Downloading pyrsistent-0.16.0.tar.gz (108 kB) |████████████████████████████████| 108 kB 3.3 MB/s Requirement already satisfied: setuptools in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jsonschema>=3.0.1->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (41.2.0) Collecting attrs>=17.4.0 Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading urllib3-1.25.9-py2.py3-none-any.whl (126 kB) |████████████████████████████████| 126 kB 1.7 MB/s Collecting chardet<4,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) |████████████████████████████████| 133 kB 2.8 MB/s Collecting idna<3,>=2.5 Downloading idna-2.9-py2.py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 2.1 MB/s Collecting certifi>=2017.4.17 Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB) |████████████████████████████████| 157 kB 2.6 MB/s Collecting python-dateutil>=2.1 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) |████████████████████████████████| 227 kB 3.2 MB/s Collecting bleach Downloading bleach-3.1.5-py2.py3-none-any.whl (151 kB) |████████████████████████████████| 151 kB 3.8 MB/s Collecting entrypoints>=0.2.2 Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB) Collecting defusedxml Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting testpath Downloading testpath-0.4.4-py2.py3-none-any.whl (163 kB) |████████████████████████████████| 163 kB 6.0 MB/s Collecting mistune<2,>=0.8.1 Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB) Collecting pandocfilters>=1.4.1 Downloading pandocfilters-1.4.2.tar.gz (14 kB) Requirement already satisfied: pygments in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from nbconvert->notebook>=4.3.1->jupyterlab) (2.6.1) Requirement already satisfied: ptyprocess; os_name != "nt" in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from terminado>=0.8.1->notebook>=4.3.1->jupyterlab) (0.6.0) Requirement already satisfied: decorator in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from traitlets>=4.2.1->notebook>=4.3.1->jupyterlab) (4.4.2) Requirement already satisfied: ipython>=5.0.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipykernel->notebook>=4.3.1->jupyterlab) (7.14.0) Collecting packaging Downloading packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Requirement already satisfied: pickleshare in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.7.5) Requirement already satisfied: backcall in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.1.0) Requirement already satisfied: jedi>=0.10 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.17.0) Requirement already satisfied: pexpect; sys_platform != "win32" in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (4.8.0) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (3.0.5) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) |████████████████████████████████| 67 kB 1.5 MB/s Requirement already satisfied: parso>=0.7.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jedi>=0.10->ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.7.0) Requirement already satisfied: wcwidth in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.1.9) Using legacy setup.py install for tornado, since package 'wheel' is not installed. Using legacy setup.py install for pyzmq, since package 'wheel' is not installed. Using legacy setup.py install for prometheus-client, since package 'wheel' is not installed. Using legacy setup.py install for MarkupSafe, since package 'wheel' is not installed. Using legacy setup.py install for pyrsistent, since package 'wheel' is not installed. Using legacy setup.py install for pandocfilters, since package 'wheel' is not installed. Installing collected packages: pyrsistent, attrs, jsonschema, urllib3, chardet, idna, certifi, requests, json5, pyzmq, tornado, jupyter-core, python-dateutil, jupyter-client, nbformat, pyparsing, packaging, webencodings, bleach, entrypoints, defusedxml, MarkupSafe, jinja2, testpath, mistune, pandocfilters, nbconvert, Send2Trash, prometheus-client, terminado, ipykernel, notebook, jupyterlab-server, jupyterlab Running setup.py install for pyrsistent ... done Running setup.py install for pyzmq ... error ERROR: Command errored out with exit status 1: command: /data/data/com.termux/files/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-wo1qd5vo/pyzmq/setup.py'"'"'; __file__='"'"'/data/data/com.termux/files/usr/tmp/pip-install-wo1qd5vo/pyzmq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-ofwptq7d/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/usr/include/python3.8/pyzmq cwd: /data/data/com.termux/files/usr/tmp/pip-install-wo1qd5vo/pyzmq/ Complete output (319 lines): running install running build running build_py creating build creating build/lib.linux-aarch64-3.8 creating build/lib.linux-aarch64-3.8/zmq copying zmq/_future.py -> build/lib.linux-aarch64-3.8/zmq copying zmq/__init__.py -> build/lib.linux-aarch64-3.8/zmq copying zmq/error.py -> build/lib.linux-aarch64-3.8/zmq copying zmq/decorators.py -> build/lib.linux-aarch64-3.8/zmq creating build/lib.linux-aarch64-3.8/zmq/asyncio copying zmq/asyncio/__init__.py -> build/lib.linux-aarch64-3.8/zmq/asyncio creating build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/frame.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/__init__.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/socket.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/tracker.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/version.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/poll.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/constants.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/context.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/stopwatch.py -> build/lib.linux-aarch64-3.8/zmq/sugar copying zmq/sugar/attrsettr.py -> build/lib.linux-aarch64-3.8/zmq/sugar creating build/lib.linux-aarch64-3.8/zmq/auth copying zmq/auth/__init__.py -> build/lib.linux-aarch64-3.8/zmq/auth copying zmq/auth/base.py -> build/lib.linux-aarch64-3.8/zmq/auth copying zmq/auth/thread.py -> build/lib.linux-aarch64-3.8/zmq/auth copying zmq/auth/certs.py -> build/lib.linux-aarch64-3.8/zmq/auth copying zmq/auth/ioloop.py -> build/lib.linux-aarch64-3.8/zmq/auth creating build/lib.linux-aarch64-3.8/zmq/auth/asyncio copying zmq/auth/asyncio/__init__.py -> build/lib.linux-aarch64-3.8/zmq/auth/asyncio creating build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_poll.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_proxy_steerable.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_pubsub.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/__init__.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_includes.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_security.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_pair.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_message.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_auth.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_draft.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_context.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_reqrep.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_version.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_multipart.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_cffi_backend.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_decorators.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_log.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_ioloop.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_ssh.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_imports.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_future.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_zmqstream.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_retry_eintr.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_monitor.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_win32_shim.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_cython.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/conftest.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_socket.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_z85.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_device.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_constants.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_etc.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_error.py -> build/lib.linux-aarch64-3.8/zmq/tests copying zmq/tests/test_monqueue.py -> build/lib.linux-aarch64-3.8/zmq/tests creating build/lib.linux-aarch64-3.8/zmq/tests/asyncio copying zmq/tests/asyncio/__init__.py -> build/lib.linux-aarch64-3.8/zmq/tests/asyncio copying zmq/tests/asyncio/_test_asyncio.py -> build/lib.linux-aarch64-3.8/zmq/tests/asyncio copying zmq/tests/asyncio/test_asyncio.py -> build/lib.linux-aarch64-3.8/zmq/tests/asyncio creating build/lib.linux-aarch64-3.8/zmq/green copying zmq/green/__init__.py -> build/lib.linux-aarch64-3.8/zmq/green copying zmq/green/core.py -> build/lib.linux-aarch64-3.8/zmq/green copying zmq/green/poll.py -> build/lib.linux-aarch64-3.8/zmq/green copying zmq/green/device.py -> build/lib.linux-aarch64-3.8/zmq/green creating build/lib.linux-aarch64-3.8/zmq/green/eventloop copying zmq/green/eventloop/__init__.py -> build/lib.linux-aarch64-3.8/zmq/green/eventloop copying zmq/green/eventloop/zmqstream.py -> build/lib.linux-aarch64-3.8/zmq/green/eventloop copying zmq/green/eventloop/ioloop.py -> build/lib.linux-aarch64-3.8/zmq/green/eventloop creating build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/__init__.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/garbage.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/jsonapi.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/strtypes.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/constant_names.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/z85.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/interop.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/monitor.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/win32.py -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/sixcerpt.py -> build/lib.linux-aarch64-3.8/zmq/utils creating build/lib.linux-aarch64-3.8/zmq/log copying zmq/log/__init__.py -> build/lib.linux-aarch64-3.8/zmq/log copying zmq/log/__main__.py -> build/lib.linux-aarch64-3.8/zmq/log copying zmq/log/handlers.py -> build/lib.linux-aarch64-3.8/zmq/log creating build/lib.linux-aarch64-3.8/zmq/backend copying zmq/backend/select.py -> build/lib.linux-aarch64-3.8/zmq/backend copying zmq/backend/__init__.py -> build/lib.linux-aarch64-3.8/zmq/backend creating build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/__init__.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/socket.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/utils.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/error.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/_poll.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/devices.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/_cffi.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/constants.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/context.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/message.py -> build/lib.linux-aarch64-3.8/zmq/backend/cffi creating build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/__init__.py -> build/lib.linux-aarch64-3.8/zmq/backend/cython creating build/lib.linux-aarch64-3.8/zmq/ssh copying zmq/ssh/__init__.py -> build/lib.linux-aarch64-3.8/zmq/ssh copying zmq/ssh/tunnel.py -> build/lib.linux-aarch64-3.8/zmq/ssh copying zmq/ssh/forward.py -> build/lib.linux-aarch64-3.8/zmq/ssh creating build/lib.linux-aarch64-3.8/zmq/devices copying zmq/devices/basedevice.py -> build/lib.linux-aarch64-3.8/zmq/devices copying zmq/devices/__init__.py -> build/lib.linux-aarch64-3.8/zmq/devices copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-aarch64-3.8/zmq/devices copying zmq/devices/proxysteerabledevice.py -> build/lib.linux-aarch64-3.8/zmq/devices copying zmq/devices/proxydevice.py -> build/lib.linux-aarch64-3.8/zmq/devices copying zmq/devices/monitoredqueue.py -> build/lib.linux-aarch64-3.8/zmq/devices creating build/lib.linux-aarch64-3.8/zmq/eventloop copying zmq/eventloop/__init__.py -> build/lib.linux-aarch64-3.8/zmq/eventloop copying zmq/eventloop/_deprecated.py -> build/lib.linux-aarch64-3.8/zmq/eventloop copying zmq/eventloop/zmqstream.py -> build/lib.linux-aarch64-3.8/zmq/eventloop copying zmq/eventloop/future.py -> build/lib.linux-aarch64-3.8/zmq/eventloop copying zmq/eventloop/ioloop.py -> build/lib.linux-aarch64-3.8/zmq/eventloop creating build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado copying zmq/eventloop/minitornado/__init__.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado copying zmq/eventloop/minitornado/stack_context.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado copying zmq/eventloop/minitornado/util.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado copying zmq/eventloop/minitornado/log.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado copying zmq/eventloop/minitornado/concurrent.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado copying zmq/eventloop/minitornado/ioloop.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado creating build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/eventloop/minitornado/platform/common.py -> build/lib.linux-aarch64-3.8/zmq/eventloop/minitornado/platform copying zmq/__init__.pxd -> build/lib.linux-aarch64-3.8/zmq copying zmq/utils/buffers.pxd -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/getpid_compat.h -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/zmq_compat.h -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/mutex.h -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/ipcmaxlen.h -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/zmq_constants.h -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/utils/pyversion_compat.h -> build/lib.linux-aarch64-3.8/zmq/utils copying zmq/backend/cffi/_cdefs.h -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cffi/_verify.c -> build/lib.linux-aarch64-3.8/zmq/backend/cffi copying zmq/backend/cython/__init__.pxd -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/context.pxd -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/message.pxd -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/libzmq.pxd -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/socket.pxd -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/checkrc.pxd -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/constants.pxi -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/backend/cython/constant_enums.pxi -> build/lib.linux-aarch64-3.8/zmq/backend/cython copying zmq/devices/monitoredqueue.pxd -> build/lib.linux-aarch64-3.8/zmq/devices running build_ext running configure Did not find libzmq via pkg-config. {'libraries': ['zmq'], 'include_dirs': [], 'library_dirs': [], 'runtime_library_dirs': [], 'extra_link_args': []} aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -c build/temp.linux-aarch64-3.8/scratch/check_sys_un.c -o build/temp.linux-aarch64-3.8/scratch/check_sys_un.o aarch64-linux-android-clang build/temp.linux-aarch64-3.8/scratch/check_sys_un.o -o build/temp.linux-aarch64-3.8/scratch/check_sys_un ************************************************ Configure: Autodetecting ZMQ settings... Custom ZMQ dir: Checking for timer_create ** Errors about missing timer_create are a normal part of this process ** creating build/temp.linux-aarch64-3.8/scratch/data creating build/temp.linux-aarch64-3.8/scratch/data/data creating build/temp.linux-aarch64-3.8/scratch/data/data/com.termux creating build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files creating build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files/usr creating build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files/usr/tmp aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -c /data/data/com.termux/files/usr/tmp/timer_create070bgbr5.c -o build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files/usr/tmp/timer_create070bgbr5.o /data/data/com.termux/files/usr/tmp/timer_create070bgbr5.c:2:5: warning: implicit declaration of function 'timer_create' is invalid in C99 [-Wimplicit-function-declaration] timer_create(); ^ 1 warning generated. aarch64-linux-android-clang build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files/usr/tmp/timer_create070bgbr5.o -o build/temp.linux-aarch64-3.8/scratch/a.out aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -Izmq/utils -c build/temp.linux-aarch64-3.8/scratch/vers.c -o build/temp.linux-aarch64-3.8/scratch/vers.o build/temp.linux-aarch64-3.8/scratch/vers.c:4:10: fatal error: 'zmq.h' file not found #include "zmq.h" ^~~~~~~ 1 error generated. error: command 'aarch64-linux-android-clang' failed with exit status 1 Failed with default libzmq, trying again with /usr/local {'libraries': ['zmq'], 'include_dirs': ['/usr/local/include'], 'library_dirs': ['/usr/local/lib'], 'runtime_library_dirs': ['/usr/local/lib'], 'extra_link_args': []} ************************************************ Configure: Autodetecting ZMQ settings... Custom ZMQ dir: /usr/local Checking for timer_create ** Errors about missing timer_create are a normal part of this process ** aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -c /data/data/com.termux/files/usr/tmp/timer_createqfgeo8cc.c -o build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files/usr/tmp/timer_createqfgeo8cc.o error: unable to open output file 'build/temp.linux-aarch64-3.8/scratch/data/data/com.termux/files/usr/tmp/timer_createqfgeo8cc.o': 'No such file or directory' 1 error generated. ** The above error about timer_create is normal and not a problem! ** no timer_create, linking librt aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/usr/local/include -Izmq/utils -c build/temp.linux-aarch64-3.8/scratch/vers.c -o build/temp.linux-aarch64-3.8/scratch/vers.o build/temp.linux-aarch64-3.8/scratch/vers.c:4:10: fatal error: 'zmq.h' file not found #include "zmq.h" ^~~~~~~ 1 error generated. error: command 'aarch64-linux-android-clang' failed with exit status 1 ************************************************ Warning: Couldn't find an acceptable libzmq on the system. If you expected pyzmq to link against an installed libzmq, please check to make sure: * You have a C compiler installed * A development version of Python is installed (including headers) * A development version of ZMQ >= 3.2 is installed (including headers) * If ZMQ is not in a default location, supply the argument --zmq=<path> * If you did recently install ZMQ to a default location, try rebuilding the ld cache with `sudo ldconfig` or specify zmq's location with `--zmq=/usr/local` You can skip all this detection/waiting nonsense if you know you want pyzmq to bundle libzmq as an extension by passing: `--zmq=bundled` I will now try to build libzmq as a Python extension unless you interrupt me (^C) in the next 10 seconds... 1... ************************************************ Using bundled libzmq already have bundled/zeromq attempting ./configure to generate platform.hpp Warning: failed to configure libzmq: b'/data/data/com.termux/files/usr/bin/sh: 1: ./configure: not found\n' staging platform.hpp from: /data/data/com.termux/files/usr/tmp/pip-install-wo1qd5vo/pyzmq/buildutils/include_linux ************************************************ checking for timer_create creating build/temp.linux-aarch64-3.8/data creating build/temp.linux-aarch64-3.8/data/data creating build/temp.linux-aarch64-3.8/data/data/com.termux creating build/temp.linux-aarch64-3.8/data/data/com.termux/files creating build/temp.linux-aarch64-3.8/data/data/com.termux/files/usr creating build/temp.linux-aarch64-3.8/data/data/com.termux/files/usr/tmp aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -c /data/data/com.termux/files/usr/tmp/timer_createkd1n7cvp.c -o build/temp.linux-aarch64-3.8/data/data/com.termux/files/usr/tmp/timer_createkd1n7cvp.o /data/data/com.termux/files/usr/tmp/timer_createkd1n7cvp.c:2:5: warning: implicit declaration of function 'timer_create' is invalid in C99 [-Wimplicit-function-declaration] timer_create(); ^ 1 warning generated. aarch64-linux-android-clang build/temp.linux-aarch64-3.8/data/data/com.termux/files/usr/tmp/timer_createkd1n7cvp.o -o build/temp.linux-aarch64-3.8/a.out ok ************************************************ building 'zmq.libzmq' extension creating build/temp.linux-aarch64-3.8/buildutils creating build/temp.linux-aarch64-3.8/bundled creating build/temp.linux-aarch64-3.8/bundled/zeromq creating build/temp.linux-aarch64-3.8/bundled/zeromq/src aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c buildutils/initlibzmq.cpp -o build/temp.linux-aarch64-3.8/buildutils/initlibzmq.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/zap_client.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/zap_client.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/sub.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/sub.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/tipc_listener.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/tipc_listener.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/object.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/object.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/tcp_listener.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/tcp_listener.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/mailbox_safe.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/mailbox_safe.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/push.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/push.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/ctx.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/ctx.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/socket_poller.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/socket_poller.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/endpoint.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/endpoint.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/xpub.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/xpub.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/zmq_utils.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/zmq_utils.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/plain_client.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/plain_client.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/tcp_address.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/tcp_address.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/xsub.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/xsub.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/io_thread.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/io_thread.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/socks.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/socks.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/gssapi_server.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/gssapi_server.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/router.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/router.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/v2_encoder.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/v2_encoder.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/mechanism.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/mechanism.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/poll.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/poll.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/ipc_connecter.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/ipc_connecter.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/trie.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/trie.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/mtrie.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/mtrie.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/tipc_connecter.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/tipc_connecter.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/null_mechanism.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/null_mechanism.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/msg.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/msg.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/vmci_listener.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/vmci_listener.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/ip.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/ip.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/fq.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/fq.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/reaper.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/reaper.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/ip_resolver.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/ip_resolver.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/norm_engine.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/norm_engine.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/v1_decoder.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/v1_decoder.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/session_base.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/session_base.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/pub.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/pub.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/poller_base.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/poller_base.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/stream_connecter_base.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/stream_connecter_base.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/curve_mechanism_base.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/curve_mechanism_base.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/vmci_connecter.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/vmci_connecter.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/pull.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/pull.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/dgram.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/dgram.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/pgm_socket.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/pgm_socket.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/clock.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/clock.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/radio.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/radio.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/dealer.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/dealer.o aarch64-linux-android-clang++ -std=c++11 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_EPOLL=1 -DZMQ_IOTHREADS_USE_EPOLL=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/data/data/com.termux/files/usr/include/python3.8 -c bundled/zeromq/src/thread.cpp -o build/temp.linux-aarch64-3.8/bundled/zeromq/src/thread.o bundled/zeromq/src/thread.cpp:338:11: error: use of undeclared identifier 'pthread_setaffinity_np'; did you mean 'sched_setaffinity'? pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset); ^~~~~~~~~~~~~~~~~~~~~~ sched_setaffinity /data/data/com.termux/files/usr/include/sched.h:89:5: note: 'sched_setaffinity' declared here int sched_setaffinity(pid_t __pid, size_t __set_size, const cpu_set_t* __set) __INTRODUCED_IN(12); ^ 1 error generated. error: command 'aarch64-linux-android-clang++' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /data/data/com.termux/files/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-wo1qd5vo/pyzmq/setup.py'"'"'; __file__='"'"'/data/data/com.termux/files/usr/tmp/pip-install-wo1qd5vo/pyzmq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-ofwptq7d/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/usr/include/python3.8/pyzmq Check the logs for full command output. |
上面指令執行後發生錯誤的地方:
<1> error: command 'aarch64-linux-android-clang++' failed with exit status 1 <2> aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/usr/local/include -Izmq/utils -c build/temp.linux-aarch64-3.8/scratch/vers.c -o build/temp.linux-aarch64-3.8/scratch/vers.o build/temp.linux-aarch64-3.8/scratch/vers.c:4:10: fatal error: 'zmq.h' file not found |
=> 修正 zmq 錯誤:
apt install libcrypt-dev <<< Fail >>>
$ apt install libcrypt-dev Reading package lists... Done Building dependency tree Reading state information... Done Package libcrypt-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libcrypt E: Package 'libcrypt-dev' has no installation candidate |
apt install libzmq <<< Success >>>
$ apt install libzmq Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libandroid-spawn liblzo lzip lzop ninja Use 'apt autoremove' to remove them. The following additional packages will be installed: libsodium The following NEW packages will be installed: libsodium libzmq 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 392 kB of archives. After this operation, 1516 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 https://dl.bintray.com/termux/termux-packages-24 stable/main aarch64 libsodium aarch64 1.0.18-1 [98.7 kB] Get:2 https://dl.bintray.com/termux/termux-packages-24 stable/main aarch64 libzmq aarch64 4.3.2-2 [294 kB] Fetched 392 kB in 3s (121 kB/s) Selecting previously unselected package libsodium. (Reading database ... 24460 files and directories currently installed.) Preparing to unpack .../libsodium_1.0.18-1_aarch64.deb ... Unpacking libsodium (1.0.18-1) ... Selecting previously unselected package libzmq. Preparing to unpack .../libzmq_4.3.2-2_aarch64.deb ... Unpacking libzmq (4.3.2-2) ... Setting up libsodium (1.0.18-1) ... Setting up libzmq (4.3.2-2) ... Processing triggers for man (1.14.5-1) ... |
[2-2] 再次安裝 jupyterlab (success)
pip install jupyterlab
$ pip install jupyterlab Collecting jupyterlab Using cached jupyterlab-2.1.2-py3-none-any.whl (7.8 MB) Collecting jinja2>=2.10 Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting tornado!=6.0.0,!=6.0.1,!=6.0.2 Using cached tornado-6.0.4.tar.gz (496 kB) Collecting notebook>=4.3.1 Using cached notebook-6.0.3-py3-none-any.whl (9.7 MB) Collecting jupyterlab-server<2.0,>=1.1.0 Using cached jupyterlab_server-1.1.4-py3-none-any.whl (29 kB) Collecting MarkupSafe>=0.23 Using cached MarkupSafe-1.1.1.tar.gz (19 kB) Collecting jupyter-core>=4.6.1 Using cached jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB) Collecting nbconvert Using cached nbconvert-5.6.1-py2.py3-none-any.whl (455 kB) Collecting Send2Trash Using cached Send2Trash-1.5.0-py3-none-any.whl (12 kB) Collecting jupyter-client>=5.3.4 Using cached jupyter_client-6.1.3-py3-none-any.whl (106 kB) Collecting nbformat Using cached nbformat-5.0.6-py3-none-any.whl (170 kB) Collecting prometheus-client Using cached prometheus_client-0.7.1.tar.gz (38 kB) Requirement already satisfied: ipython-genutils in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from notebook>=4.3.1->jupyterlab) (0.2.0) Requirement already satisfied: traitlets>=4.2.1 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from notebook>=4.3.1->jupyterlab) (4.3.3) Collecting ipykernel Using cached ipykernel-5.2.1-py3-none-any.whl (118 kB) Collecting pyzmq>=17 Using cached pyzmq-19.0.1.tar.gz (1.2 MB) Collecting terminado>=0.8.1 Using cached terminado-0.8.3-py2.py3-none-any.whl (33 kB) Requirement already satisfied: json5 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jupyterlab-server<2.0,>=1.1.0->jupyterlab) (0.9.4) Requirement already satisfied: jsonschema>=3.0.1 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jupyterlab-server<2.0,>=1.1.0->jupyterlab) (3.2.0) Requirement already satisfied: requests in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jupyterlab-server<2.0,>=1.1.0->jupyterlab) (2.23.0) Collecting entrypoints>=0.2.2 Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB) Collecting bleach Using cached bleach-3.1.5-py2.py3-none-any.whl (151 kB) Collecting testpath Using cached testpath-0.4.4-py2.py3-none-any.whl (163 kB) Collecting pandocfilters>=1.4.1 Using cached pandocfilters-1.4.2.tar.gz (14 kB) Collecting defusedxml Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting mistune<2,>=0.8.1 Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB) Requirement already satisfied: pygments in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from nbconvert->notebook>=4.3.1->jupyterlab) (2.6.1) Collecting python-dateutil>=2.1 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Requirement already satisfied: six in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from traitlets>=4.2.1->notebook>=4.3.1->jupyterlab) (1.14.0) Requirement already satisfied: decorator in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from traitlets>=4.2.1->notebook>=4.3.1->jupyterlab) (4.4.2) Requirement already satisfied: ipython>=5.0.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipykernel->notebook>=4.3.1->jupyterlab) (7.14.0) Requirement already satisfied: ptyprocess; os_name != "nt" in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from terminado>=0.8.1->notebook>=4.3.1->jupyterlab) (0.6.0) Requirement already satisfied: attrs>=17.4.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jsonschema>=3.0.1->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (19.3.0) Requirement already satisfied: setuptools in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jsonschema>=3.0.1->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (41.2.0) Requirement already satisfied: pyrsistent>=0.14.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jsonschema>=3.0.1->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (0.16.0) Requirement already satisfied: certifi>=2017.4.17 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from requests->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (2020.4.5.1) Requirement already satisfied: idna<3,>=2.5 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from requests->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (2.9) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from requests->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (1.25.9) Requirement already satisfied: chardet<4,>=3.0.2 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from requests->jupyterlab-server<2.0,>=1.1.0->jupyterlab) (3.0.4) Collecting packaging Using cached packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting webencodings Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Requirement already satisfied: backcall in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.1.0) Requirement already satisfied: jedi>=0.10 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.17.0) Requirement already satisfied: pickleshare in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.7.5) Requirement already satisfied: pexpect; sys_platform != "win32" in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (4.8.0) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (3.0.5) Collecting pyparsing>=2.0.2 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Requirement already satisfied: parso>=0.7.0 in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from jedi>=0.10->ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.7.0) Requirement already satisfied: wcwidth in /data/data/com.termux/files/usr/lib/python3.8/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=5.0.0->ipykernel->notebook>=4.3.1->jupyterlab) (0.1.9) Using legacy setup.py install for tornado, since package 'wheel' is not installed. Using legacy setup.py install for MarkupSafe, since package 'wheel' is not installed. Using legacy setup.py install for prometheus-client, since package 'wheel' is not installed. Using legacy setup.py install for pyzmq, since package 'wheel' is not installed. Using legacy setup.py install for pandocfilters, since package 'wheel' is not installed. Installing collected packages: MarkupSafe, jinja2, tornado, jupyter-core, entrypoints, nbformat, pyparsing, packaging, webencodings, bleach, testpath, pandocfilters, defusedxml, mistune, nbconvert, Send2Trash, pyzmq, python-dateutil, jupyter-client, prometheus-client, ipykernel, terminado, notebook, jupyterlab-server, jupyterlab Running setup.py install for MarkupSafe ... done Running setup.py install for tornado ... done Running setup.py install for pandocfilters ... done Running setup.py install for pyzmq ... done Running setup.py install for prometheus-client ... done Successfully installed MarkupSafe-1.1.1 Send2Trash-1.5.0 bleach-3.1.5 defusedxml-0.6.0 entrypoints-0.3 ipykernel-5.2.1 jinja2-2.11.2 jupyter-client-6.1.3 jupyter-core-4.6.3 jupyterlab-2.1.2 jupyterlab-server-1.1.4 mistune-0.8.4 nbconvert-5.6.1 nbformat-5.0.6 notebook-6.0.3 packaging-20.4 pandocfilters-1.4.2 prometheus-client-0.7.1 pyparsing-2.4.7 python-dateutil-2.8.1 pyzmq-19.0.1 terminado-0.8.3 testpath-0.4.4 tornado-6.0.4 webencodings-0.5.1 |
[Run]
jupyter lab or jupyter notebook
$ jupyter lab [I 17:27:46.866 LabApp] Writing notebook server cookie secret to /data/data/com.termux/files/home/.local/share/jupyter/runtime/notebook_cookie_secret [I 17:28:00.967 LabApp] JupyterLab extension loaded from /data/data/com.termux/files/usr/lib/python3.8/site-packages/jupyterlab [I 17:28:00.969 LabApp] JupyterLab application directory is /data/data/com.termux/files/usr/share/jupyter/lab [I 17:28:00.995 LabApp] Serving notebooks from local directory: /data/data/com.termux/files/home/code [I 17:28:00.996 LabApp] The Jupyter Notebook is running at: [I 17:28:00.996 LabApp] http://localhost:8888/?token=b63ed1537a68a100231ef97041c2f8b4891724acad0a3668 [I 17:28:00.997 LabApp] or http://127.0.0.1:8888/?token=b63ed1537a68a100231ef97041c2f8b4891724acad0a3668 [I 17:28:00.997 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 17:28:01.020 LabApp] No web browser found: could not locate runnable browser. [C 17:28:01.021 LabApp] To access the notebook, open this file in a browser: file:///data/data/com.termux/files/home/.local/share/jupyter/runtime/nbserver-11420-open.html Or copy and paste one of these URLs: http://localhost:8888/?token=b63ed1537a68a100231ef97041c2f8b4891724acad0a3668 or http://127.0.0.1:8888/?token=b63ed1537a68a100231ef97041c2f8b4891724acad0a3668 |
Termux 下執行 jupyter lab:
使用 localhost 登入 jupyter lab:
[Remote access]
[1] 執行 jupyter notebook --generate-config 產生 config file: jupyter_notebook_config.py
[2] 執行 jupyter notebook password 設定登入密碼後產生 jupyter_notebook_config.json
[3] 修改 jupyter_notebook_config.json,限定登入 IP
$ cd .jupyter/ $ pwd /data/data/com.termux/files/home/.jupyter $ ls lab migrated $ jupyter notebook --generate-config Writing default config to: /data/data/com.termux/files/home/.jupyter/jupyter_notebook_config.py $ jupyter notebook password Enter password: Verify password: [NotebookPasswordApp] Wrote hashed password to /data/data/com.termux/files/home/.jupyter/jupyter_notebook_config.json |
=> 令 server 允許所有 IP 登入:
修改 jupyter_notebook_config.json (可先備份原檔):
{ "NotebookApp": { "ip": "*", "open_browser": false } } |
注意:
如用瀏覽器無法連上 LAN 中的 jupyter, 請檢查是否啟用了 VPN
(需關閉 VPN 才可順利連上)
[啟用 Jupyter Lab]
jupyter lab --port 8888 --no-browser
$ jupyter lab --port 8888 --no-browser [W 13:11:53.784 LabApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended. [I 13:12:48.715 LabApp] JupyterLab extension loaded from /data/data/com.termux/files/usr/lib/python3.8/site-packages/jupyterlab [I 13:12:48.717 LabApp] JupyterLab application directory is /data/data/com.termux/files/usr/share/jupyter/lab [I 13:12:48.747 LabApp] Serving notebooks from local directory: /data/data/com.termux/files/home/.jupyter [I 13:12:48.747 LabApp] The Jupyter Notebook is running at: [I 13:12:48.748 LabApp] http://localhost:8888/ [I 13:12:48.748 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 13:12:48.813 LabApp] 302 GET / (192.168.1.101) 4.11ms [I 13:12:48.868 LabApp] 302 GET /lab? (192.168.1.101) 3.38ms |
或直接啟用 (預設為 port 8888):
jupyter lab
$ jupyter lab [W 16:27:52.991 LabApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended. [I 16:27:54.193 LabApp] JupyterLab extension loaded from /data/data/com.termux/files/usr/lib/python3.8/site-packages/jupyterlab [I 16:27:54.195 LabApp] JupyterLab application directory is /data/data/com.termux/files/usr/share/jupyter/lab [I 16:27:54.227 LabApp] Serving notebooks from local directory: /data/data/com.termux/files/home [I 16:27:54.229 LabApp] The Jupyter Notebook is running at: [I 16:27:54.229 LabApp] http://localhost:8888/ [I 16:27:54.230 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 16:28:09.922 LabApp] Build is up to date [I 16:28:11.702 LabApp] Kernel started: ab753168-28ca-4a28-9eee-7dc5fa77cf76 [I 16:28:12.210 LabApp] Adapting from protocol version 5.1 (kernel ab753168-28ca-4a28-9eee-7dc5fa77cf76) to 5.3 (client). [I 16:28:12.281 LabApp] Adapting from protocol version 5.1 (kernel ab753168-28ca-4a28-9eee-7dc5fa77cf76) to 5.3 (client). [I 16:30:11.469 LabApp] Saving file at /Untitled.ipynb |
[遠端登入 server]
若要使用 Notebook 介面, 將網址後的 /lab 改為 /tree 即可:
http://192.168.1.104:8888/tree
[停止 Jupyter Lab]
Termux 下按 Ctrl-C 後會有詢問指令, 選擇 y 終此 notebook server:
Shutdown this notebook server (y/[n])? y [C 16:41:32.043 LabApp] Shutdown confirmed [I 16:41:32.048 LabApp] Shutting down 1 kernel [I 16:41:37.177 LabApp] Kernel shutdown: ab753168-28ca-4a28-9eee-7dc5fa77cf76 |
參考:
Setting up a Jupyter Lab remote server
把安卓手机性能发挥到极致之-Termux安装Python及Jupyter
沒有留言:
張貼留言