Closed vrgovinda closed 6 months ago
This does not have enough information for us to reliably point you towards the right solution.
You will probably be better served by reaching out to peers or help forums, such as Python Discuss help category, /r/learnpython on reddit, Python Discord's #python-help channel, #python on Libera.chat (IRC), python-list or python-tutor mailing lists, or StackOverflow.
This issue can be closed.
Description
I recently upgraded to Devuan Daedalus from Chimaera -- which means I can't install python packages using pip. Therefore, I chose pipx.
I am aware that installation of python packages requires a different method as compared to
pip install <package>
. Therefore, I install new python packages usingpipx
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 installedpdfCropMargins
usingpip
and have used it extensively before upgrading to Bookworm.After the upgrade, I get the following error:
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.
Expected behavior
I expect the packages installed with
pip
to work normally as before, which is not happening.Let those installed with
pipx
be also available simultaneously. That's okay.But those which were already installed with
pip
should work even after Debian has changed ways aboutpip
.pip version
23.0.1
Python version
3.11.2
OS
GNU/Linux Distro: Devuan Daedalus
How to Reproduce
pip
. I have taken an example of 'pdfCropMargins'.pip
don't work, since the Python packages are now being externally managed.ModuleNotFoundError: No module named 'pdfCropMargins'
Output
Code of Conduct