Thanks for your reply. btw: I do know what a virtual environment is and how its works. No need to explain. And again: I do expect "pipx" to use virtual environments. So this thread is not about pro and cons of using virtual environments.
On 2023-09-17 11:57 Rimu Atkinson via Python-list <python-list@python.org> wrote: > The first problem can be avoided because virtual environments can use > a different version of python than the system one. If you need an > earlier version of python then you can use it instead. But as I explained I used pipx to install it. So virtual environments are used in that case. Maybe I made not the problem clear enough: The problem is that the installed application ("hyperorg") did not see the system package "python3-dateutils". How can I solve this without(!) using another Python version? The behavior that the pipx-installed application is not able to see system python packages (installed via "apt install python3-dateutils") is unexpected to me. Maybe there is a good reason for that? Explain it please? Maybe I did something wrong? How can I make it right? Maybe it is a bug or a use case that is not covered by current version of pipx or Debian 12? > The second problem can be avoided because virtual environments exist > in a part of the file system Also here I assume I didn't make my problem clear enough. I tried to install a library (from source) with "pipx". But it did not work somehow (no clear error message). The global python interpreter did not see that library. Why? -- https://mail.python.org/mailman/listinfo/python-list