Best practice for install python packages [pacman vs pip]

I’ve notice that…there are two different way to install a same python package :thinking:


  1. pacman -S python-django
  2. pip install django


why there is two option & which method should use for install packages?

Because Python made their own package manager for Python packages.

When installing packages using pip, it is recommended to use a virtual environment to prevent conflicts with system packages in /usr. Alternatively, pip install --user can be used to install packages into the user scheme instead of /usr.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.