I recently upgraded to Debian Bookworm from Bullseye.
I am aware that installation of python packages requires a different method as compared to pip install <package>. Therefore, I install new python packages using pipx which works well.
Question: The packages that have already been installed using pip don't work as they were working before. For example, I had installed pdfCropMargins using pip and have used it extensively before upgrading to Bookworm.
After the upgrade, I get the following error:
pdf-crop-margins -a 5 pgfmanual.pdf Traceback (most recent call last): File "/home/vrgovinda/.local/bin/pdf-crop-margins", line 5, in <module> from pdfCropMargins.pdfCropMargins import main ModuleNotFoundError: No module named 'pdfCropMargins' As per my understanding, I guess that pipx is now managing the python packages and is expecting the modules in some other location.
Am I right? If yes, how to resolve this issue?
If No, What is the reason for this error and how to resolve this issue?
Thanks in advance.