You install using apt, not pip
*sudo apt install python3-cryptography* On Tue, May 30, 2023 at 4:26 AM Lucas Heijst <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/weewx-development/8878413c-5b1a-4d7a-8de9-85d938a85475n%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/CAPq0zEB4PCO6_OuQUOGz_daqLm6uwpQPc-nOyoBXh4KY-iperw%40mail.gmail.com.
