Tom, Vince, Installing cryptography with pip3 failed on Raspberry PI OS light (32-bit)
Steps taken: Fresh install of Raspberry PI OS light (32-bit) ----- Linux pi36 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l cat /etc/debian_version 11.6 cat /boot/issue.txt Raspberry Pi reference 2023-05-03 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 47eee1f0ddcf8811559d51eea1c1bb48335e3e88, stage2 ----- apt update && apt upgrade apt install gcc python3-dev python3-pip pip3 install cryptography --user (failed, see attachment) Op maandag 29 mei 2023 om 20:19:06 UTC-3 schreef Tom Keffer: > Good sleuthing, Vince. > > I've added this to the *Pip troubleshooting* wiki. > https://github.com/weewx/weewx/wiki/pip-troubleshooting > > On Mon, May 29, 2023 at 3:46 PM Vince Skahan <[email protected]> wrote: > >> ok - did a quick check of the latest 64-bit desktop and 32-bit lite >> RaspiOS. All that's needed for the lite os is to add the dpkg of >> python3-cryptography. It's in the desktop contents but you need to add it >> to the lite variant. Once you do that, installing weewx is a one-step >> "pip3 install --user weewx" with nothing else required. >> >> >> On Monday, May 29, 2023 at 3:08:55 PM UTC-7 Tom Keffer wrote: >> >> FWIW, the Raspi Foundation still recommend their 32-bit variant according >> to their website, but the 64-bit variants are there too of course... >> >> >> Good to know. >> >> It may not be the 32-bits that causes the problem, but rather the "lite" >> version. Does the regular version of Raspberry Pi OS include the >> cryptography library? >> >> -- >> > You received this message because you are subscribed to the Google Groups >> "weewx-development" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-development/7cdc3613-7f86-4e42-8e98-46da14f345f1n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-development/7cdc3613-7f86-4e42-8e98-46da14f345f1n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/8878413c-5b1a-4d7a-8de9-85d938a85475n%40googlegroups.com.
login as: wx [email protected]'s password: Linux pi36 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue May 30 08:00:14 2023 from 192.168.0.216 wx@pi36:~ $ sudo su root@pi36:/home/wx# cat /boot/issue.txt Raspberry Pi reference 2023-05-03 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 47eee1f0ddcf8811559d51eea1c1bb48335e3e88, stage2 root@pi36:/home/wx# ^C root@pi36:/home/wx# apt update && apt upgrade Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB] Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [316 kB] Fetched 13.6 MB in 15s (901 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 13 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files libpam-systemd libsystemd0 libudev1 libwebp6 libwebpdemux2 libwebpmux3 raspberrypi-sys-mods rpi-eeprom systemd systemd-sysv systemd-timesyncd udev 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 9,588 kB of archives. After this operation, 1,053 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf raspberrypi-sys-mods armhf 20230510~bullseye [18.4 kB] Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf rpi-eeprom armhf 16.1-1 [2,396 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf base-files armhf 11.1+rpi1+deb11u7 [70.4 kB] Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf systemd-sysv armhf 247.3-7+rpi1+deb11u2 [114 kB] Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpam-systemd armhf 247.3-7+rpi1+deb11u2 [261 kB] Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsystemd0 armhf 247.3-7+rpi1+deb11u2 [346 kB] Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf systemd-timesyncd armhf 247.3-7+rpi1+deb11u2 [131 kB] Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf systemd armhf 247.3-7+rpi1+deb11u2 [4,252 kB] Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf udev armhf 247.3-7+rpi1+deb11u2 [1,431 kB] Get:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libudev1 armhf 247.3-7+rpi1+deb11u2 [162 kB] Get:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libwebp6 armhf 0.6.1-2.1+deb11u1 [225 kB] Get:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libwebpdemux2 armhf 0.6.1-2.1+deb11u1 [86.8 kB] Get:13 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libwebpmux3 armhf 0.6.1-2.1+deb11u1 [94.4 kB] Fetched 9,588 kB in 7s (1,397 kB/s) Reading changelogs... Done (Reading database ... 43857 files and directories currently installed.) Preparing to unpack .../base-files_11.1+rpi1+deb11u7_armhf.deb ... Unpacking base-files (11.1+rpi1+deb11u7) over (11.1+rpi1+deb11u6) ... Setting up base-files (11.1+rpi1+deb11u7) ... Installing new version of config file /etc/debian_version ... (Reading database ... 43857 files and directories currently installed.) Preparing to unpack .../systemd-sysv_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking systemd-sysv (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Preparing to unpack .../libpam-systemd_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking libpam-systemd:armhf (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Preparing to unpack .../libsystemd0_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking libsystemd0:armhf (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Setting up libsystemd0:armhf (247.3-7+rpi1+deb11u2) ... (Reading database ... 43857 files and directories currently installed.) Preparing to unpack .../systemd-timesyncd_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking systemd-timesyncd (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Preparing to unpack .../systemd_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking systemd (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Preparing to unpack .../udev_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking udev (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Preparing to unpack .../libudev1_247.3-7+rpi1+deb11u2_armhf.deb ... Unpacking libudev1:armhf (247.3-7+rpi1+deb11u2) over (247.3-7+rpi1+deb11u1) ... Setting up libudev1:armhf (247.3-7+rpi1+deb11u2) ... (Reading database ... 43857 files and directories currently installed.) Preparing to unpack .../libwebp6_0.6.1-2.1+deb11u1_armhf.deb ... Unpacking libwebp6:armhf (0.6.1-2.1+deb11u1) over (0.6.1-2.1) ... Preparing to unpack .../libwebpdemux2_0.6.1-2.1+deb11u1_armhf.deb ... Unpacking libwebpdemux2:armhf (0.6.1-2.1+deb11u1) over (0.6.1-2.1) ... Preparing to unpack .../libwebpmux3_0.6.1-2.1+deb11u1_armhf.deb ... Unpacking libwebpmux3:armhf (0.6.1-2.1+deb11u1) over (0.6.1-2.1) ... Preparing to unpack .../raspberrypi-sys-mods_20230510~bullseye_armhf.deb ... Unpacking raspberrypi-sys-mods (20230510~bullseye) over (20230329) ... Preparing to unpack .../rpi-eeprom_16.1-1_armhf.deb ... Unpacking rpi-eeprom (16.1-1) over (16.0-1) ... Setting up systemd (247.3-7+rpi1+deb11u2) ... Setting up raspberrypi-sys-mods (20230510~bullseye) ... Setting up systemd-timesyncd (247.3-7+rpi1+deb11u2) ... Setting up udev (247.3-7+rpi1+deb11u2) ... Setting up libwebp6:armhf (0.6.1-2.1+deb11u1) ... Setting up rpi-eeprom (16.1-1) ... Setting up libwebpmux3:armhf (0.6.1-2.1+deb11u1) ... Setting up systemd-sysv (247.3-7+rpi1+deb11u2) ... Setting up libwebpdemux2:armhf (0.6.1-2.1+deb11u1) ... Setting up libpam-systemd:armhf (247.3-7+rpi1+deb11u2) ... Processing triggers for initramfs-tools (0.140) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for dbus (1.12.24-0+deb11u1) ... Processing triggers for install-info (6.7.0.dfsg.2-6) ... root@pi36:/home/wx# apt install gcc python3-dev python3-pip Reading package lists... Done Building dependency tree... Done Reading state information... Done gcc is already the newest version (4:10.2.1-1+rpi1). gcc set to manually installed. The following additional packages will be installed: javascript-common libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-distutils python3-lib2to3 python3-setuptools python3-wheel python3.9-dev Suggested packages: apache2 | lighttpd | httpd python-setuptools-doc The following NEW packages will be installed: javascript-common libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-dev python3-distutils python3-lib2to3 python3-pip python3-setuptools python3-wheel python3.9-dev 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Need to get 7,224 kB of archives. After this operation, 23.0 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf python-pip-whl all 20.3.4-4+rpt1+deb11u1 [2,002 kB] Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf javascript-common all 11+nmu1 [6,260 B] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libexpat1-dev armhf 2.2.10-2+deb11u5 [123 kB] Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf python3-pip all 20.3.4-4+rpt1+deb11u1 [337 kB] Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-jquery all 3.5.1+dfsg+~3.5.5-7 [315 kB] Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-underscore all 1.9.1~dfsg-3 [100 kB] Get:6 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf libjs-sphinxdoc all 3.4.3-2 [127 kB] Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpython3.9-dev armhf 3.9.2-1+rpi1 [3,055 kB] Get:9 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf libpython3-dev armhf 3.9.2-3 [21.7 kB] Get:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf python3.9-dev armhf 3.9.2-1+rpi1 [501 kB] Get:11 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf python3-lib2to3 all 3.9.2-1 [77.8 kB] Get:12 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf python3-distutils all 3.9.2-1 [143 kB] Get:13 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf python3-dev armhf 3.9.2-3 [24.8 kB] Get:14 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf python3-setuptools all 52.0.0-4 [366 kB] Get:15 http://raspbian.c3sl.ufpr.br/raspbian bullseye/main armhf python3-wheel all 0.34.2-1 [24.0 kB] Fetched 7,224 kB in 7s (1,041 kB/s) Selecting previously unselected package javascript-common. (Reading database ... 43859 files and directories currently installed.) Preparing to unpack .../00-javascript-common_11+nmu1_all.deb ... Unpacking javascript-common (11+nmu1) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../01-libexpat1-dev_2.2.10-2+deb11u5_armhf.deb ... Unpacking libexpat1-dev:armhf (2.2.10-2+deb11u5) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../02-libjs-jquery_3.5.1+dfsg+~3.5.5-7_all.deb ... Unpacking libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../03-libjs-underscore_1.9.1~dfsg-3_all.deb ... Unpacking libjs-underscore (1.9.1~dfsg-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../04-libjs-sphinxdoc_3.4.3-2_all.deb ... Unpacking libjs-sphinxdoc (3.4.3-2) ... Selecting previously unselected package libpython3.9-dev:armhf. Preparing to unpack .../05-libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ... Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ... Selecting previously unselected package libpython3-dev:armhf. Preparing to unpack .../06-libpython3-dev_3.9.2-3_armhf.deb ... Unpacking libpython3-dev:armhf (3.9.2-3) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../07-python-pip-whl_20.3.4-4+rpt1+deb11u1_all.deb ... Unpacking python-pip-whl (20.3.4-4+rpt1+deb11u1) ... Selecting previously unselected package python3.9-dev. Preparing to unpack .../08-python3.9-dev_3.9.2-1+rpi1_armhf.deb ... Unpacking python3.9-dev (3.9.2-1+rpi1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../09-python3-lib2to3_3.9.2-1_all.deb ... Unpacking python3-lib2to3 (3.9.2-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../10-python3-distutils_3.9.2-1_all.deb ... Unpacking python3-distutils (3.9.2-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../11-python3-dev_3.9.2-3_armhf.deb ... Unpacking python3-dev (3.9.2-3) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../12-python3-setuptools_52.0.0-4_all.deb ... Unpacking python3-setuptools (52.0.0-4) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../13-python3-wheel_0.34.2-1_all.deb ... Unpacking python3-wheel (0.34.2-1) ... Selecting previously unselected package python3-pip. Preparing to unpack .../14-python3-pip_20.3.4-4+rpt1+deb11u1_all.deb ... Unpacking python3-pip (20.3.4-4+rpt1+deb11u1) ... Setting up javascript-common (11+nmu1) ... Setting up python3-wheel (0.34.2-1) ... Setting up libexpat1-dev:armhf (2.2.10-2+deb11u5) ... Setting up python-pip-whl (20.3.4-4+rpt1+deb11u1) ... Setting up libjs-jquery (3.5.1+dfsg+~3.5.5-7) ... Setting up python3-lib2to3 (3.9.2-1) ... Setting up libjs-underscore (1.9.1~dfsg-3) ... Setting up python3-distutils (3.9.2-1) ... Setting up python3-setuptools (52.0.0-4) ... Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ... Setting up python3-pip (20.3.4-4+rpt1+deb11u1) ... Setting up libjs-sphinxdoc (3.4.3-2) ... Setting up python3.9-dev (3.9.2-1+rpi1) ... Setting up libpython3-dev:armhf (3.9.2-3) ... Setting up python3-dev (3.9.2-3) ... Processing triggers for man-db (2.9.4-2) ... root@pi36:/home/wx# pip3 install cryptography --user Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting cryptography Downloading cryptography-40.0.2.tar.gz (625 kB) |████████████████████████████████| 625 kB 534 kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Collecting cffi>=1.12 Using cached https://www.piwheels.org/simple/cffi/cffi-1.15.1-cp39-cp39-linux_armv7l.whl (364 kB) Collecting pycparser Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB) Building wheels for collected packages: cryptography Building wheel for cryptography (PEP 517) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /tmp/tmpm2jf_gzr_in_process.py build_wheel /tmp/tmpm78jaag6 cwd: /tmp/pip-install-e1aklgxq/cryptography_229ba3e43b8847d1aa6aaa28c15ed913 Complete output (247 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-39 creating build/lib.linux-armv7l-cpython-39/cryptography copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-39/cryptography copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-39/cryptography copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-39/cryptography creating build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509 creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl running egg_info writing src/cryptography.egg-info/PKG-INFO writing dependency_links to src/cryptography.egg-info/dependency_links.txt writing requirements to src/cryptography.egg-info/requires.txt writing top-level names to src/cryptography.egg-info/top_level.txt reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files found matching 'vectors' warning: no previously-included files matching '*' found under directory 'vectors' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'ci-constraints-requirements.txt' warning: no previously-included files found matching 'mypy.ini' adding license file 'LICENSE' adding license file 'LICENSE.APACHE' adding license file 'LICENSE.BSD' adding license file 'LICENSE.PSF' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' /tmp/pip-build-env-27nvadw0/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'cryptography.hazmat.bindings._rust' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'cryptography.hazmat.bindings._rust' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'cryptography.hazmat.bindings._rust' to be distributed and are already explicitly excluding 'cryptography.hazmat.bindings._rust' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /tmp/pip-build-env-27nvadw0/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'cryptography.hazmat.bindings._rust.openssl' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'cryptography.hazmat.bindings._rust.openssl' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'cryptography.hazmat.bindings._rust.openssl' to be distributed and are already explicitly excluding 'cryptography.hazmat.bindings._rust.openssl' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-39/cryptography creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl running build_ext running build_rust =============================DEBUG ASSISTANCE============================= If you are seeing a compilation error please try the following steps to successfully install cryptography: 1) Upgrade to the latest pip and try again. This will fix errors for most users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip 2) Read https://cryptography.io/en/latest/installation/ for specific instructions for your platform. 3) Check our frequently asked questions for more information: https://cryptography.io/en/latest/faq/ 4) Ensure you have a recent Rust toolchain installed: https://cryptography.io/en/latest/installation/#rust Python: 3.9.2 platform: Linux-6.1.21-v7+-armv7l-with-glibc2.31 pip: n/a setuptools: 67.8.0 setuptools_rust: 1.6.0 rustc: n/a =============================DEBUG ASSISTANCE============================= error: can't find Rust compiler 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. To update pip, run: pip install --upgrade pip and then retry package installation. 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. This package requires Rust >=1.48.0. ---------------------------------------- ERROR: Failed building wheel for cryptography Failed to build cryptography ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly root@pi36:/home/wx#
