I'm really surprised that cryptography is not available for your buster
light. What happens if you just do

*python3 -m pip install cryptography --user*

If that doesn't work, I see 3 choices:

   1. Use a database other than MySQL.
   2. Use something other than rsa authentication.
   3. Install the Rust compiler, then try to compile and install
   cryptography from scratch.

-tk

On Mon, May 29, 2023 at 8:20 AM Lucas Heijst <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/weewx-development/47da2f7f-10bd-4bbd-a931-95b9f89483b1n%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/CAPq0zEAAVwLneWUqU6A3vsH0%3D4A8YrzZi36xS7ab5itK9%2BFnJA%40mail.gmail.com.

Reply via email to