Don't mix yum/dnf and pip for installation of system-wide Python packages

Posted on Fri 13 January 2017 in Python • Tagged with yum , dnf , pip , python , packaging , virtualenv , fedora , centos , rhel

Too many times I've seen people using a mix of yum/ dnf and pip for installation of system-wide Python packages This causes all sorts of problems .

TL; DR Install system-wide Python packages with yum/dnf and only use pip inside a virtual environment. For an example, see my Ansible snippet below .


Continue reading