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