When using pip install, why is the list of (from versions: xxx) very short?

238 Views Asked by At

The following is the output I got on server1. enter image description here

The following is the output I got on server2. enter image description here

This results in that I cannot download older versions of some packages (e.g. tensorflow-gpu) on server1. Why are they different? What's wrong?

1

There are 1 best solutions below

0
On BEST ANSWER

A few things going on here. First, it looks like the Tuna mirror is not mirroring pre-releases (ending in rc1, rc2, a0, etc.)

If we just consider PyPI, on "server1" you're getting the following releases:

  • 1.13.0rc1
  • 1.13.0rc2
  • 1.13.0
  • 2.0.0a0

These are all the releases that support Python 3.7, so my guess is that you are using Python 3.7 on "server1", and some other, older version of Python on "server2", and pip is filtering compatible releases for you.