Running bullseye on a Raspberry 4 with python3.9.2 as default. Python programms with this default environment and pymodbus are working. Upgrading the default Python to python3.12 resulted in an error when using Thonny, which did not start any more with this version. So I returned to 3.9.2 as default and installed 3.12 as a second Python installation. 3.12, however, cannot find pymodbus, which is inside the 3.9.2 Python folder. So I get errors when trying to run programms using pymodbus from the 3.12 python environment.
Do I have to install pymodbus inside 3.12 as well? And if so how do I do this? Or is there a way to tell 3.12 to use the pymodbus inside the 3.9.2 folder? I am grateful for any hints.