Advertisement
Guest User

Untitled

a guest
Feb 9th, 2022
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.56 KB | None | 0 0
  1. # pip install jupyterlab
  2. Collecting jupyterlab
  3. Cache entry deserialization failed, entry ignored
  4. Using cached https://files.pythonhosted.org/packages/1b/1b/ce43d66010878f86e574ae94d4aa6f78028ba5dba7287e11ebbaea2b3c17/jupyterlab-0.33.12-py2.py3-none-any.whl
  5. Collecting futures; python_version < "3.0" (from jupyterlab)
  6. Using cached https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl
  7. Collecting jupyterlab-launcher<0.12.0,>=0.11.2 (from jupyterlab)
  8. Using cached https://files.pythonhosted.org/packages/ec/5a/9393a4ae8da664f27635b969b9b1375d873f2751fb6e6c13a1ac2bac7bb0/jupyterlab_launcher-0.11.2-py2.py3-none-any.whl
  9. Collecting notebook>=4.3.1 (from jupyterlab)
  10. Cache entry deserialization failed, entry ignored
  11. Using cached https://files.pythonhosted.org/packages/f0/c3/8c65d072de51f87961ace22625233262b66c46fd8433e74f3e66da6ef5ac/notebook-5.7.13-py2.py3-none-any.whl
  12. Collecting subprocess32>=3.5; python_version < "3.0" (from jupyterlab)
  13. Using cached https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007/subprocess32-3.5.4.tar.gz
  14. Collecting ipython-genutils (from jupyterlab)
  15. Cache entry deserialization failed, entry ignored
  16. Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
  17. Collecting jsonschema>=2.6.0 (from jupyterlab-launcher<0.12.0,>=0.11.2->jupyterlab)
  18. Cache entry deserialization failed, entry ignored
  19. Using cached https://files.pythonhosted.org/packages/9c/99/9789c7fd0bb8876a7d624d903195ce11e5618b421bdb1bf7c975d17a9bc3/jsonschema-4.0.0.tar.gz
  20. Complete output from command python setup.py egg_info:
  21. Traceback (most recent call last):
  22. File "<string>", line 1, in <module>
  23. IOError: [Errno 2] No such file or directory: '/tmp/pip-build-YHknEA/jsonschema/setup.py'
  24.  
  25. ----------------------------------------
  26. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-YHknEA/jsonschema/
  27. root@drli-jetson:/home/drli# pip3 install jupyterlab
  28. Collecting jupyterlab
  29. Using cached https://files.pythonhosted.org/packages/4b/0d/03deff4501e9ffafe755e561e375ffa9f5822fec93a09ce1c7c5147bdcb3/jupyterlab-3.2.9-py3-none-any.whl
  30. Collecting ipython (from jupyterlab)
  31. Cache entry deserialization failed, entry ignored
  32. Using cached https://files.pythonhosted.org/packages/53/09/958a4802489d28b2484114ee6414c7502ef57de6f2dbc9095b718640060c/ipython-7.16.3-py3-none-any.whl
  33. Collecting tornado>=6.1.0 (from jupyterlab)
  34. Cache entry deserialization failed, entry ignored
  35. Using cached https://files.pythonhosted.org/packages/cf/44/cc9590db23758ee7906d40cacff06c02a21c2a6166602e095a56cbf2f6f6/tornado-6.1.tar.gz
  36. Collecting jinja2>=2.1 (from jupyterlab)
  37. Cache entry deserialization failed, entry ignored
  38. Using cached https://files.pythonhosted.org/packages/20/9a/e5d9ec41927401e41aea8af6d16e78b5e612bca4699d417f646a9610a076/Jinja2-3.0.3-py3-none-any.whl
  39. Collecting jupyter-server~=1.4 (from jupyterlab)
  40. Cache entry deserialization failed, entry ignored
  41. Using cached https://files.pythonhosted.org/packages/b3/4e/4708209ecc355f71a321a9478f19c16bcd4dc02f57de9e8dcbd244127a5c/jupyter_server-1.13.1-py3-none-any.whl
  42. Collecting jupyterlab-server~=2.3 (from jupyterlab)
  43. Cache entry deserialization failed, entry ignored
  44. Using cached https://files.pythonhosted.org/packages/cb/22/308fdf317ed12c7f8e6081797bcccc53de3c7a34d89cbf975069194f7c41/jupyterlab_server-2.10.3-py3-none-any.whl
  45. Collecting packaging (from jupyterlab)
  46. Cache entry deserialization failed, entry ignored
  47. Using cached https://files.pythonhosted.org/packages/05/8e/8de486cbd03baba4deef4142bd643a3e7bbe954a784dc1bb17142572d127/packaging-21.3-py3-none-any.whl
  48. Collecting jupyter-core (from jupyterlab)
  49. Cache entry deserialization failed, entry ignored
  50. Using cached https://files.pythonhosted.org/packages/d5/8e/fad835e31e3f54ea39d2b76027348a347433dcbc674a841ffe0716091c2d/jupyter_core-4.9.1-py3-none-any.whl
  51. Collecting nbclassic~=0.2 (from jupyterlab)
  52. Cache entry deserialization failed, entry ignored
  53. Using cached https://files.pythonhosted.org/packages/6f/45/21eaa314a406e2ba5c000ad755d1153b3269d338800674b5ff5f62f1f0fb/nbclassic-0.3.5-py3-none-any.whl
  54. Collecting pexpect; sys_platform != "win32" (from ipython->jupyterlab)
  55. Cache entry deserialization failed, entry ignored
  56. Using cached https://files.pythonhosted.org/packages/39/7b/88dbb785881c28a102619d46423cb853b46dbccc70d3ac362d99773a78ce/pexpect-4.8.0-py2.py3-none-any.whl
  57. Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3/dist-packages (from ipython->jupyterlab)
  58. Requirement already satisfied: decorator in /usr/lib/python3/dist-packages (from ipython->jupyterlab)
  59. Collecting jedi<=0.17.2,>=0.10 (from ipython->jupyterlab)
  60. Cache entry deserialization failed, entry ignored
  61. Using cached https://files.pythonhosted.org/packages/c3/d4/36136b18daae06ad798966735f6c3fb96869c1be9f8245d2a8f556e40c36/jedi-0.17.2-py2.py3-none-any.whl
  62. Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 (from ipython->jupyterlab)
  63. Cache entry deserialization failed, entry ignored
  64. Using cached https://files.pythonhosted.org/packages/85/44/a2fa4ae2bdbf5fc0656ac99b4d78c18460c9313a7d1f0c03916f4c989e26/prompt_toolkit-3.0.27-py3-none-any.whl
  65. Collecting pickleshare (from ipython->jupyterlab)
  66. Cache entry deserialization failed, entry ignored
  67. Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
  68. Collecting traitlets>=4.2 (from ipython->jupyterlab)
  69. Cache entry deserialization failed, entry ignored
  70. Using cached https://files.pythonhosted.org/packages/ca/ab/872a23e29cec3cf2594af7e857f18b687ad21039c1f9b922fac5b9b142d5/traitlets-4.3.3-py2.py3-none-any.whl
  71. Collecting pygments (from ipython->jupyterlab)
  72. Cache entry deserialization failed, entry ignored
  73. Using cached https://files.pythonhosted.org/packages/1d/17/ed4d2df187995561b28f1073df24137cb750e12f9879d291cc8ab67c65d2/Pygments-2.11.2-py3-none-any.whl
  74. Collecting backcall (from ipython->jupyterlab)
  75. Cache entry deserialization failed, entry ignored
  76. Using cached https://files.pythonhosted.org/packages/4c/1c/ff6546b6c12603d8dd1070aa3c3d273ad4c07f5771689a7b69a550e8c951/backcall-0.2.0-py2.py3-none-any.whl
  77. Collecting MarkupSafe>=2.0 (from jinja2>=2.1->jupyterlab)
  78. Cache entry deserialization failed, entry ignored
  79. Using cached https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/MarkupSafe-2.0.1.tar.gz
  80. Requested MarkupSafe>=2.0 from https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/MarkupSafe-2.0.1.tar.gz#sha256=594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a (from jinja2>=2.1->jupyterlab), but installing version 1.0
  81. Collecting prometheus-client (from jupyter-server~=1.4->jupyterlab)
  82. Cache entry deserialization failed, entry ignored
  83. Cache entry deserialization failed, entry ignored
  84. Downloading https://files.pythonhosted.org/packages/53/d2/b64e76fc5df129db7cee2c071ba129ce090b2f6e7fb4c734aa9d2fc1d262/prometheus_client-0.13.1-py3-none-any.whl (57kB)
  85. 100% |████████████████████████████████| 61kB 3.2MB/s
  86. Collecting ipython-genutils (from jupyter-server~=1.4->jupyterlab)
  87. Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
  88. Collecting websocket-client (from jupyter-server~=1.4->jupyterlab)
  89. Cache entry deserialization failed, entry ignored
  90. Cache entry deserialization failed, entry ignored
  91. Downloading https://files.pythonhosted.org/packages/88/03/cd5aa2c97356b7eee484a2b63fe850076ecb82fdeda82979a234b62a9a37/websocket_client-1.2.3-py3-none-any.whl (53kB)
  92. 100% |████████████████████████████████| 61kB 4.2MB/s
  93. Collecting nbformat (from jupyter-server~=1.4->jupyterlab)
  94. Cache entry deserialization failed, entry ignored
  95. Cache entry deserialization failed, entry ignored
  96. Downloading https://files.pythonhosted.org/packages/e7/c7/dd50978c637a7af8234909277c4e7ec1b71310c13fb3135f3c8f5b6e045f/nbformat-5.1.3-py3-none-any.whl (178kB)
  97. 100% |████████████████████████████████| 184kB 2.2MB/s
  98. Collecting argon2-cffi (from jupyter-server~=1.4->jupyterlab)
  99. Cache entry deserialization failed, entry ignored
  100. Cache entry deserialization failed, entry ignored
  101. Downloading https://files.pythonhosted.org/packages/a8/07/946d5a9431bae05a776a59746ec385fbb79b526738d25e4202d3e0bbf7f4/argon2_cffi-21.3.0-py3-none-any.whl
  102. Collecting anyio<4,>=3.1.0 (from jupyter-server~=1.4->jupyterlab)
  103. Cache entry deserialization failed, entry ignored
  104. Cache entry deserialization failed, entry ignored
  105. Downloading https://files.pythonhosted.org/packages/b1/ae/9a8af72d6f0c551943903eefcf93c3a29898fb7b594603c0d70679c199b1/anyio-3.5.0-py3-none-any.whl (79kB)
  106. 100% |████████████████████████████████| 81kB 3.5MB/s
  107. Collecting pyzmq>=17 (from jupyter-server~=1.4->jupyterlab)
  108. Cache entry deserialization failed, entry ignored
  109. Using cached https://files.pythonhosted.org/packages/6c/95/d37e7db364d7f569e71068882b1848800f221c58026670e93a4c6d50efe7/pyzmq-22.3.0.tar.gz
  110. Complete output from command python setup.py egg_info:
  111. running egg_info
  112. creating pip-egg-info/pyzmq.egg-info
  113. writing pip-egg-info/pyzmq.egg-info/PKG-INFO
  114. writing dependency_links to pip-egg-info/pyzmq.egg-info/dependency_links.txt
  115. writing requirements to pip-egg-info/pyzmq.egg-info/requires.txt
  116. writing top-level names to pip-egg-info/pyzmq.egg-info/top_level.txt
  117. writing manifest file 'pip-egg-info/pyzmq.egg-info/SOURCES.txt'
  118. /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules'
  119. warnings.warn(msg)
  120. /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
  121. warnings.warn(msg)
  122. Generating grammar tables from /usr/lib/python3.6/lib2to3/Grammar.txt
  123. Generating grammar tables from /usr/lib/python3.6/lib2to3/PatternGrammar.txt
  124. running configure
  125. Did not find libzmq via pkg-config.
  126. {'libraries': ['zmq'], 'include_dirs': [], 'library_dirs': [], 'runtime_library_dirs': [], 'extra_link_args': []}
  127. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c build/temp.linux-aarch64-3.6/scratch/check_sys_un.c -o build/temp.linux-aarch64-3.6/scratch/check_sys_un.o
  128. aarch64-linux-gnu-gcc -pthread build/temp.linux-aarch64-3.6/scratch/check_sys_un.o -o build/temp.linux-aarch64-3.6/scratch/check_sys_un
  129. Configure: Autodetecting ZMQ settings...
  130. Custom ZMQ dir:
  131. Checking for timer_create
  132. ** Errors about missing timer_create are a normal part of this process **
  133. ************************************************
  134. creating build/temp.linux-aarch64-3.6/scratch/tmp
  135. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/timer_createjfg1c4yv.c -o build/temp.linux-aarch64-3.6/scratch/tmp/timer_createjfg1c4yv.o
  136. /tmp/timer_createjfg1c4yv.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
  137. main (int argc, char **argv) {
  138. ^~~~
  139. /tmp/timer_createjfg1c4yv.c: In function ‘main’:
  140. /tmp/timer_createjfg1c4yv.c:2:5: warning: implicit declaration of function ‘timer_create’ [-Wimplicit-function-declaration]
  141. timer_create();
  142. ^~~~~~~~~~~~
  143. aarch64-linux-gnu-gcc -pthread build/temp.linux-aarch64-3.6/scratch/tmp/timer_createjfg1c4yv.o -o build/temp.linux-aarch64-3.6/scratch/a.out
  144. build/temp.linux-aarch64-3.6/scratch/tmp/timer_createjfg1c4yv.o:在函数‘main’中:
  145. /tmp/timer_createjfg1c4yv.c:2:对‘timer_create’未定义的引用
  146. collect2: error: ld returned 1 exit status
  147. ** The above error about timer_create is normal and not a problem! **
  148. no timer_create, linking librt
  149. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Izmq/utils -c build/temp.linux-aarch64-3.6/scratch/vers.c -o build/temp.linux-aarch64-3.6/scratch/vers.o
  150. build/temp.linux-aarch64-3.6/scratch/vers.c:4:10: fatal error: zmq.h: 没有那个文件或目录
  151. #include "zmq.h"
  152. ^~~~~~~
  153. compilation terminated.
  154.  
  155. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  156.  
  157. Failed with default libzmq, trying again with /usr/local
  158. {'libraries': ['zmq'], 'include_dirs': ['/usr/local/include'], 'library_dirs': ['/usr/local/lib'], 'runtime_library_dirs': ['/usr/local/lib'], 'extra_link_args': []}
  159. Configure: Autodetecting ZMQ settings...
  160. Custom ZMQ dir: /usr/local
  161. Checking for timer_create
  162. ** Errors about missing timer_create are a normal part of this process **
  163. ************************************************
  164. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -c /tmp/timer_create4dl92ust.c -o build/temp.linux-aarch64-3.6/scratch/tmp/timer_create4dl92ust.o
  165. /tmp/timer_create4dl92ust.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
  166. main (int argc, char **argv) {
  167. ^~~~
  168. /tmp/timer_create4dl92ust.c: In function ‘main’:
  169. /tmp/timer_create4dl92ust.c:2:5: warning: implicit declaration of function ‘timer_create’ [-Wimplicit-function-declaration]
  170. timer_create();
  171. ^~~~~~~~~~~~
  172. Assembler messages:
  173. 致命错误: can't create build/temp.linux-aarch64-3.6/scratch/tmp/timer_create4dl92ust.o: 没有那个文件或目录
  174. ** The above error about timer_create is normal and not a problem! **
  175. no timer_create, linking librt
  176. aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include -Izmq/utils -c build/temp.linux-aarch64-3.6/scratch/vers.c -o build/temp.linux-aarch64-3.6/scratch/vers.o
  177. build/temp.linux-aarch64-3.6/scratch/vers.c:4:10: fatal error: zmq.h: 没有那个文件或目录
  178. #include "zmq.h"
  179. ^~~~~~~
  180. compilation terminated.
  181.  
  182. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  183.  
  184. Warning: Couldn't find an acceptable libzmq on the system.
  185.  
  186. If you expected pyzmq to link against an installed libzmq, please check to make sure:
  187.  
  188. * You have a C compiler installed
  189. * A development version of Python is installed (including headers)
  190. * A development version of ZMQ >= 3.2 is installed (including headers)
  191. * If ZMQ is not in a default location, specify the env ZMQ_PREFIX=<path>
  192. * If you did recently install ZMQ to a default location,
  193. try rebuilding the ld cache with `sudo ldconfig`
  194. or specify zmq's location with `ZMQ_PREFIX=/usr/local`
  195.  
  196. You can skip all this detection/waiting nonsense if you know
  197. you want pyzmq to bundle libzmq as an extension by passing:
  198.  
  199. `ZMQ_PREFIX=bundled`
  200.  
  201. I will now try to build libzmq as a Python extension
  202. unless you interrupt me (^C) in the next 10 seconds...
  203.  
  204. ************************************************
  205. 1...
  206. Using bundled libzmq
  207. already have bundled/zeromq
  208. attempting ./configure to generate platform.hpp
  209. Warning: failed to configure libzmq:
  210. [Errno 2] No such file or directory: './configure': './configure'
  211. Traceback (most recent call last):
  212. File "<string>", line 1, in <module>
  213. File "/tmp/pip-build-ybt5h8ko/pyzmq/setup.py", line 1403, in <module>
  214. setup(**setup_args)
  215. File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
  216. return distutils.core.setup(**attrs)
  217. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  218. dist.run_commands()
  219. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  220. self.run_command(cmd)
  221. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  222. cmd_obj.run()
  223. File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 278, in run
  224. self.find_sources()
  225. File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 293, in find_sources
  226. mm.run()
  227. File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 524, in run
  228. self.add_defaults()
  229. File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 560, in add_defaults
  230. sdist.add_defaults(self)
  231. File "/usr/lib/python3/dist-packages/setuptools/command/py36compat.py", line 36, in add_defaults
  232. self._add_defaults_ext()
  233. File "/usr/lib/python3/dist-packages/setuptools/command/py36compat.py", line 119, in _add_defaults_ext
  234. build_ext = self.get_finalized_command('build_ext')
  235. File "/usr/lib/python3.6/distutils/cmd.py", line 299, in get_finalized_command
  236. cmd_obj.ensure_finalized()
  237. File "/usr/lib/python3.6/distutils/cmd.py", line 107, in ensure_finalized
  238. self.finalize_options()
  239. File "/tmp/pip-build-ybt5h8ko/pyzmq/setup.py", line 1126, in finalize_options
  240. self.distribution.run_command("configure")
  241. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  242. cmd_obj.run()
  243. File "/tmp/pip-build-ybt5h8ko/pyzmq/setup.py", line 815, in run
  244. self.fallback_on_bundled()
  245. File "/tmp/pip-build-ybt5h8ko/pyzmq/setup.py", line 727, in fallback_on_bundled
  246. return self.bundle_libzmq_extension()
  247. File "/tmp/pip-build-ybt5h8ko/pyzmq/setup.py", line 561, in bundle_libzmq_extension
  248. stage_platform_hpp(pjoin(bundledir, 'zeromq'))
  249. File "/tmp/pip-build-ybt5h8ko/pyzmq/buildutils/bundle.py", line 197, in stage_platform_hpp
  250. from packaging import tags
  251. ModuleNotFoundError: No module named 'packaging'
  252. ************************************************
  253.  
  254. ----------------------------------------
  255. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ybt5h8ko/pyzmq/
  256.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement