Bug in pip version 19.0 breaks builds fix by downgrading to pip 18.0

My python builds started failing 5 days ago. After doing some troubleshooting looks like pip was upgraded to pip 19.0 and that is causing my builds to break. pip v19.0 appears to have a bug that doesn’t install packages such as flask & pyinstaller.

I have found a work around which gets the builds back up but the bug in pip should really be fixed moving forward.

Here is the work around:

Downgrade to pip v18.0 before installing any dependencies

pip install --user --upgrade pip==18.0.0

After downgrading the pip client to v18 your previous builds should all work as before.

Also when installing deps using pip always use the --user flag in the CirlceCI python convenience images. That’ll grant you pip command the appropriate permissions to install the deps. Otherwise you might see errors

1 Like

I have a same question. Thank you.

1 Like

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