dkozinn

failed_install_log.log

Mar 4th, 2023
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.76 KB | None | 0 0
  1. pi@pi2:~ $ wfpiconsole update
  2.  
  3. [✓] Root user check passed
  4. [✓] Hardware check passed (armv7l)
  5. [✓] OS check passed (Raspbian GNU/Linux 10 (buster))
  6.  
  7. ==============================
  8. Updating WeatherFlow PiConsole
  9. ==============================
  10.  
  11. [✓] Checking for updated packages
  12. [i] No updated packages found
  13.  
  14. [i] WeatherFlow PiConsole dependency checks...
  15. [✓] Checking for git
  16. [✓] Checking for curl
  17. [✓] Checking for rng-tools
  18. [✓] Checking for build-essential
  19. [✓] Checking for python3-dev
  20. [✓] Checking for python3-pip
  21. [✓] Checking for python3-setuptools
  22. [✓] Checking for libssl-dev
  23. [✓] Checking for libffi-dev
  24. [✓] Checking for libatlas-base-dev
  25. [✓] Checking for jq
  26.  
  27. [i] Updating WeatherFlow PiConsole Python modules...
  28. [✓] Updating Python package manager
  29. [✗] Updating Python module
  30. Error: Unable to update Python module: cryptography
  31.  
  32. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  33. Collecting cryptography==38.0.1
  34. Using cached cryptography-38.0.1.tar.gz (599 kB)
  35. Installing build dependencies: started
  36. Installing build dependencies: finished with status 'done'
  37. Getting requirements to build wheel: started
  38. Getting requirements to build wheel: finished with status 'done'
  39. Preparing metadata (pyproject.toml): started
  40. Preparing metadata (pyproject.toml): finished with status 'done'
  41. Requirement already satisfied: cffi>=1.12 in ./.local/lib/python3.7/site-packages (from cryptography==38.0.1) (1.14.4)
  42. Requirement already satisfied: pycparser in ./.local/lib/python3.7/site-packages (from cffi>=1.12->cryptography==38.0.1) (2.20)
  43. Building wheels for collected packages: cryptography
  44. Building wheel for cryptography (pyproject.toml): started
  45. Building wheel for cryptography (pyproject.toml): finished with status 'error'
  46. error: subprocess-exited-with-error
  47.  
  48. × Building wheel for cryptography (pyproject.toml) did not run successfully.
  49. │ exit code: 1
  50. ╰─> [193 lines of output]
  51. running bdist_wheel
  52. running build
  53. running build_py
  54. creating build
  55. creating build/lib.linux-armv7l-cpython-37
  56. creating build/lib.linux-armv7l-cpython-37/cryptography
  57. copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-37/cryptography
  58. copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-37/cryptography
  59. copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-37/cryptography
  60. copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography
  61. copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography
  62. creating build/lib.linux-armv7l-cpython-37/cryptography/x509
  63. copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  64. copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  65. copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  66. copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  67. copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  68. copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  69. copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  70. copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
  71. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat
  72. copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat
  73. copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat
  74. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends
  75. copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends
  76. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
  77. copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
  78. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  79. copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  80. copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  81. copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  82. copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  83. copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  84. copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  85. copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  86. copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  87. copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  88. copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  89. copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
  90. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  91. copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  92. copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  93. copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  94. copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  95. copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  96. copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  97. copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  98. copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  99. copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  100. copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  101. copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  102. copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  103. copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  104. copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  105. copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  106. copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  107. copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  108. copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  109. copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/backends/openssl
  110. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
  111. copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
  112. copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
  113. copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/openssl
  114. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
  115. copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
  116. copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
  117. copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
  118. copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
  119. copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/serialization
  120. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  121. copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  122. copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  123. copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  124. copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  125. copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  126. copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  127. copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  128. copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  129. copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  130. copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  131. copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  132. copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/asymmetric
  133. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
  134. copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
  135. copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
  136. copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/twofactor
  137. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
  138. copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
  139. copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
  140. copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
  141. copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
  142. copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/ciphers
  143. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  144. copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  145. copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  146. copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  147. copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  148. copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  149. copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  150. copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives/kdf
  151. running egg_info
  152. writing src/cryptography.egg-info/PKG-INFO
  153. writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  154. writing requirements to src/cryptography.egg-info/requires.txt
  155. writing top-level names to src/cryptography.egg-info/top_level.txt
  156. reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  157. reading manifest template 'MANIFEST.in'
  158. no previously-included directories found matching 'docs/_build'
  159. warning: no previously-included files found matching 'vectors'
  160. warning: no previously-included files matching '*' found under directory 'vectors'
  161. warning: no previously-included files matching '*' found under directory '.github'
  162. warning: no previously-included files found matching 'release.py'
  163. warning: no previously-included files found matching '.readthedocs.yml'
  164. warning: no previously-included files found matching 'dev-requirements.txt'
  165. warning: no previously-included files found matching 'tox.ini'
  166. warning: no previously-included files found matching 'mypy.ini'
  167. warning: no previously-included files matching '*' found under directory '.circleci'
  168. adding license file 'LICENSE'
  169. adding license file 'LICENSE.APACHE'
  170. adding license file 'LICENSE.BSD'
  171. adding license file 'LICENSE.PSF'
  172. writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  173. copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-37/cryptography
  174. copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
  175. creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  176. copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  177. copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  178. copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  179. copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  180. running build_ext
  181. generating cffi module 'build/temp.linux-armv7l-cpython-37/cryptography.hazmat.bindings._openssl.c'
  182. creating build/temp.linux-armv7l-cpython-37
  183. running build_rust
  184. /tmp/pip-build-env-mx8s1dan/overlay/lib/python3.7/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
  185. !!
  186.  
  187.  
  188. ############################
  189. # Package would be ignored #
  190. ############################
  191. Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
  192. but it is not listed in the `packages` configuration of setuptools.
  193.  
  194. 'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
  195. because it may contain data files, but this behavior is likely to change
  196. in future versions of setuptools (and therefore is considered deprecated).
  197.  
  198. Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
  199. the `packages` configuration field or the proper discovery methods
  200. (for example by using `find_namespace_packages(...)`/`find_namespace:`
  201. instead of `find_packages(...)`/`find:`).
  202.  
  203. You can read more about "package discovery" and "data files" on setuptools
  204. documentation page.
  205.  
  206.  
  207. !!
  208.  
  209. check.warn(importable)
  210.  
  211. =============================DEBUG ASSISTANCE=============================
  212. If you are seeing a compilation error please try the following steps to
  213. successfully install cryptography:
  214. 1) Upgrade to the latest pip and try again. This will fix errors for most
  215. users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  216. 2) Read https://cryptography.io/en/latest/installation/ for specific
  217. instructions for your platform.
  218. 3) Check our frequently asked questions for more information:
  219. https://cryptography.io/en/latest/faq/
  220. 4) Ensure you have a recent Rust toolchain installed:
  221. https://cryptography.io/en/latest/installation/#rust
  222.  
  223. Python: 3.7.3
  224. platform: Linux-5.10.103-v7l+-armv7l-with-debian-10.13
  225. pip: n/a
  226. setuptools: 67.4.0
  227. setuptools_rust: 1.5.2
  228. rustc: n/a
  229. =============================DEBUG ASSISTANCE=============================
  230.  
  231. error: can't find Rust compiler
  232.  
  233. If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  234.  
  235. To update pip, run:
  236.  
  237. pip install --upgrade pip
  238.  
  239. and then retry package installation.
  240.  
  241. If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  242.  
  243. This package requires Rust >=1.48.0.
  244. [end of output]
  245.  
  246. note: This error originates from a subprocess, and is likely not a problem with pip.
  247. ERROR: Failed building wheel for cryptography
  248. Failed to build cryptography
  249. ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
Advertisement
Add Comment
Please, Sign In to add comment