Tom, I followed the steps in Pip troubleshooting I tried the steps below and got errors with the following steps: 1. python3 -m pip install weewx --user 2. python3 -m pip install pymysql[rsa] ----
sudo apt update sudo apt upgrade sudo apt -y install gcc python3-dev python3-pip python3 -m pip install wheel python3 -m pip install weewx --user If errors, try this: python3 -m pip install weewx --no-deps python3 -m pip install configobj python3 -m pip install pyserial python3 -m pip install pyusb python3 -m pip install CT3 python3 -m pip install ephem python3 -m pip install Pillow python3 -m pip install pymysql[rsa] ---- Op maandag 29 mei 2023 om 11:39:38 UTC-3 schreef Tom Keffer: > Funny. I was just writing up a note about this problem (among others). > > See the wiki entry *Pip troubleshooting > <https://github.com/weewx/weewx/wiki/pip-troubleshooting>*. > > On Mon, May 29, 2023 at 7:25 AM Lucas Heijst <[email protected]> wrote: > >> Fresh install of debian bullseye light on RPI 3B >> Tried to install weewx as follows:: >> ---- >> #Trust weewx.com >> wget -qO - https://weewx.com/keys.html | \ >> sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg >> wget -qO - https://weewx.com/apt/weewx-python3.list | \ >> sudo tee /etc/apt/sources.list.d/weewx.list >> >> #Install weewx using PIP >> sudo apt update >> sudo apt -y install gcc python3-dev python3-pip >> pip3 install wheel >> pip3 install weewx --user >> ---- >> >> The weewx installation stops with error "can't find Rust compiler", see >> attachment >> >> -- >> 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/25fde959-d149-439f-89a8-6cd5617ed06fn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-development/25fde959-d149-439f-89a8-6cd5617ed06fn%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/47da2f7f-10bd-4bbd-a931-95b9f89483b1n%40googlegroups.com.
login as: wx [email protected]'s password: Linux pi31 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. wx@pi31:~ $ sudo su root@pi31:/home/wx# sudo paswd root sudo: paswd: command not found root@pi31:/home/wx# sudo passwd root New password: Retype new password: passwd: password updated successfully root@pi31:/home/wx# sudo apt update 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 18s (773 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. root@pi31:/home/wx# sudo apt -y 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 13 not upgraded. Need to get 7,224 kB of archives. After this operation, 23.0 MB of additional disk space will be used. 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:6 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:7 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 8s (937 kB/s) Selecting previously unselected package javascript-common. (Reading database ... 43857 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@pi31:/home/wx# sudo apt upgrade 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 libsystemd0 armhf 247.3-7+rpi1+deb11u2 [346 kB] Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf systemd-timesyncd armhf 247.3-7+rpi1+deb11u2 [131 kB] Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libpam-systemd armhf 247.3-7+rpi1+deb11u2 [261 kB] Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf systemd armhf 247.3-7+rpi1+deb11u2 [4,252 kB] Get:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf udev armhf 247.3-7+rpi1+deb11u2 [1,431 kB] Get:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libudev1 armhf 247.3-7+rpi1+deb11u2 [162 kB] Get:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf systemd-sysv armhf 247.3-7+rpi1+deb11u2 [114 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 8s (1,174 kB/s) Reading changelogs... Done (Reading database ... 44731 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 ... 44731 files and directories currently installed.) 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 ... 44731 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 .../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 .../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) ... Setting up systemd (247.3-7+rpi1+deb11u2) ... (Reading database ... 44731 files and directories currently installed.) Preparing to unpack .../0-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 .../1-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 .../2-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 .../3-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 .../4-raspberrypi-sys-mods_20230510~bullseye_armhf.deb ... Unpacking raspberrypi-sys-mods (20230510~bullseye) over (20230329) ... Preparing to unpack .../5-rpi-eeprom_16.1-1_armhf.deb ... Unpacking rpi-eeprom (16.1-1) over (16.0-1) ... Setting up systemd-sysv (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 libpam-systemd:armhf (247.3-7+rpi1+deb11u2) ... Setting up rpi-eeprom (16.1-1) ... Setting up libwebpmux3:armhf (0.6.1-2.1+deb11u1) ... Setting up libwebpdemux2:armhf (0.6.1-2.1+deb11u1) ... 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) ... Processing triggers for initramfs-tools (0.140) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... root@pi31:/home/wx# sudo apt -y 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). python3-dev is already the newest version (3.9.2-3). python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@pi31:/home/wx# python3 -m pip install wheel Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.34.2) root@pi31:/home/wx# python3 -m pip install weewx --user Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting weewx Downloading https://www.piwheels.org/simple/weewx/weewx-5.0.0b3-py3-none-any.whl (3.2 MB) |████████████████████████████████| 3.2 MB 979 kB/s Requirement already satisfied: Pillow>=5.2 in /usr/lib/python3/dist-packages (from weewx) (8.1.2) Collecting CT3<4.0,>=3.1 Downloading https://www.piwheels.org/simple/ct3/CT3-3.3.1-cp39-cp39-linux_armv7l.whl (196 kB) |████████████████████████████████| 196 kB 514 kB/s Requirement already satisfied: six<2,>=1 in /usr/lib/python3/dist-packages (from weewx) (1.16.0) Collecting pyserial<4.0,>=3.4 Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB) |████████████████████████████████| 90 kB 1.5 MB/s Collecting pyusb<2.0.0,>=1.0.2 Downloading https://www.piwheels.org/simple/pyusb/pyusb-1.2.1-py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 1.9 MB/s Collecting configobj<6.0,>=5.0 Downloading https://www.piwheels.org/simple/configobj/configobj-5.0.8-py2.py3-none-any.whl (35 kB) Collecting PyMySQL[rsa]<2.0,>=1.0 Downloading https://www.piwheels.org/simple/pymysql/PyMySQL-1.0.3-py3-none-any.whl (43 kB) |████████████████████████████████| 43 kB 208 kB/s Collecting ephem<5.0,>=4.1 Downloading https://www.piwheels.org/simple/ephem/ephem-4.1.4-cp39-cp39-linux_armv7l.whl (1.7 MB) |████████████████████████████████| 1.7 MB 1.5 MB/s Collecting cryptography Downloading cryptography-40.0.2.tar.gz (625 kB) |████████████████████████████████| 625 kB 504 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/tmpnsmgt6ru_in_process.py build_wheel /tmp/tmpmbkq2zve cwd: /tmp/pip-install-02qf53hu/cryptography_7ea4d1f884c84a3c99f63c0197ec080e 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-z314wak3/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-z314wak3/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@pi31:/home/wx# python3 -m pip install weewx --no-deps Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting weewx Using cached https://www.piwheels.org/simple/weewx/weewx-5.0.0b3-py3-none-any.whl (3.2 MB) Installing collected packages: weewx Successfully installed weewx-5.0.0b3 root@pi31:/home/wx# python3 -m pip install configobj Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting configobj Using cached https://www.piwheels.org/simple/configobj/configobj-5.0.8-py2.py3-none-any.whl (35 kB) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from configobj) (1.16.0) Installing collected packages: configobj ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. weewx 5.0.0b3 requires CT3<4.0,>=3.1, which is not installed. weewx 5.0.0b3 requires ephem<5.0,>=4.1, which is not installed. weewx 5.0.0b3 requires PyMySQL[rsa]<2.0,>=1.0, which is not installed. weewx 5.0.0b3 requires pyserial<4.0,>=3.4, which is not installed. weewx 5.0.0b3 requires pyusb<2.0.0,>=1.0.2, which is not installed. Successfully installed configobj-5.0.8 root@pi31:/home/wx# python3 -m pip install pyserial Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pyserial Using cached https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB) Installing collected packages: pyserial ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. weewx 5.0.0b3 requires CT3<4.0,>=3.1, which is not installed. weewx 5.0.0b3 requires ephem<5.0,>=4.1, which is not installed. weewx 5.0.0b3 requires PyMySQL[rsa]<2.0,>=1.0, which is not installed. weewx 5.0.0b3 requires pyusb<2.0.0,>=1.0.2, which is not installed. Successfully installed pyserial-3.5 root@pi31:/home/wx# python3 -m pip install pyusb Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pyusb Using cached https://www.piwheels.org/simple/pyusb/pyusb-1.2.1-py3-none-any.whl (58 kB) Installing collected packages: pyusb ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. weewx 5.0.0b3 requires CT3<4.0,>=3.1, which is not installed. weewx 5.0.0b3 requires ephem<5.0,>=4.1, which is not installed. weewx 5.0.0b3 requires PyMySQL[rsa]<2.0,>=1.0, which is not installed. Successfully installed pyusb-1.2.1 root@pi31:/home/wx# python3 -m pip install CT3 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting CT3 Using cached https://www.piwheels.org/simple/ct3/CT3-3.3.1-cp39-cp39-linux_armv7l.whl (196 kB) Installing collected packages: CT3 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. weewx 5.0.0b3 requires ephem<5.0,>=4.1, which is not installed. weewx 5.0.0b3 requires PyMySQL[rsa]<2.0,>=1.0, which is not installed. Successfully installed CT3-3.3.1 root@pi31:/home/wx# python3 -m pip install ephem Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting ephem Using cached https://www.piwheels.org/simple/ephem/ephem-4.1.4-cp39-cp39-linux_armv7l.whl (1.7 MB) Installing collected packages: ephem ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. weewx 5.0.0b3 requires PyMySQL[rsa]<2.0,>=1.0, which is not installed. Successfully installed ephem-4.1.4 root@pi31:/home/wx# python3 -m pip install Pillow Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (8.1.2) root@pi31:/home/wx# python3 -m pip install pymysql[rsa] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pymysql[rsa] Using cached https://www.piwheels.org/simple/pymysql/PyMySQL-1.0.3-py3-none-any.whl (43 kB) Collecting cryptography Using cached cryptography-40.0.2.tar.gz (625 kB) 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/tmpk0ebrqc2_in_process.py build_wheel /tmp/tmpjojaz1z8 cwd: /tmp/pip-install-yxh1qmhl/cryptography_b08a2481e0884206a27b04dabbfa71a3 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-9wsy4moz/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-9wsy4moz/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@pi31:/home/wx#
