Modules installed with pip don't work after Bookworm upgrade
0
votes
2
answers
1170
views
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
. 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
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.
Asked by vrgovinda
(349 rep)
Aug 24, 2023, 12:44 AM
Last activity: May 5, 2024, 11:55 AM
Last activity: May 5, 2024, 11:55 AM