I ran into this again, and also set:
export PIP_DOWNLOAD_CACHE=/opt/pip/cache
This has been very consistent for me.
I ran into this again, and also set:
export PIP_DOWNLOAD_ CACHE=/ opt/pip/ cache
This has been very consistent for me.