Open twsh opened 1 year ago
I know that some Linux admins prefer installing Python packages via apt
, but IMHO and from a Python perspective, this is not a very good approach, because it means that it will become a nightmare running multiple Python applications that have (or will have) conflicts in their dependencies.
I would recommend using either
a) virtual environments (e.g. via virtualenv
or conda
)
or
b) putting everything for the application into a single Docker container and installing all Python modules only therein, either by apt
, pip
, or conda
.
Installing Python dependencies into your base systems is calling for trouble, unless you are doing a fresh start for a small, dedicated system. Option b) would be my preferred choice.
PS: Here is a page that may be helpful: https://www.makeuseof.com/create-python-virtual-environment-on-ubuntu/
Thanks. That's very reasonable. I do find that for my use of panflute, to make a filter which I use to process my own documents, a virtual environment is an annoying extra step.
On Fri, 11 Aug 2023, at 17:01, Martin Hepp wrote:
I now that some Linux admins prefer installing Python packages via
apt
, but IMHO and from a Python perspective, this is not a very good approach, because it means that it is a nightmare running multiple Python applications that have conflicts in their dependencies.I would recommend using either
a) virtual environments (e.g. via
virtualenv
orconda
) or b) putting everything for the application into a single Docker container and installing all Python modules only therein, either byapt
,pip
, orconda
.Installing Python dependencies into your base systems is calling for trouble, unless you are doing a fresh start for a small, dedicated system.
— Reply to this email directly, view it on GitHub https://github.com/sergiocorreia/panflute/issues/235#issuecomment-1674931257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABI745IRT4BLN7GSPS6MPLXUZCLTANCNFSM6AAAAAA3M2RBVY. You are receiving this because you authored the thread.Message ID: @.***>
Using the latest version of Ubuntu, installing packages globally with pip is discouraged. Some packages are available using apt. Would it be possible for panflute to be made available in this way?