Upgrading pip through pip changes the binarie location from /usr/bin to /usr/local/bin. When the other pip packages tried to use pip, it was using the old location instead of the new one