I am trying to update PACKAGENAME using the following:
pip install --index http://pypi.MYSITE.com/simple/ --upgrade PACKAGENAME
I often see that the files are not downloaded from the server, and pip says that all the packages were installed successfully, but when I check the installed version, this is not the latest version on the server.
However, if I delete the pip cache and run the above command again, it does download files from the server and installs the latest version. Has anyone experienced this problem?
The workaround I found is to pass the --ignore-installed argument to pip install , but this causes pip download all the packages from the server, even if the latest version is already installed.
source share