2 ms·
No, as I mention both in this post and in the README. Pip will download binary distributions (wheels) that were compiled for the system it is running on. If my
by idop 4y ago
No, as I mention both in this post and in the README. Pip will download binary distributions (wheels) that were compiled for the system it is running on. If my mirror is meant to serve a different version of Python installed on a different OS with a different libc (or other such differences), then it won't work. I could try to match the target environment on the mirroring side, say with Docker, but this is either cumbersome or still not possible if you have legacy environments from years before.
- vasco 4y agoMakes sense and you're right we did encounter issues when changing platforms at the time when we were using some self rolled janky versio n of this! Thanks
- jpitz 4y agoBy default it will download wheels for the system it is running on, but there are knobs to tweak that. https://pip.pypa.io/en/stable/cli/pip_download/#cmdoption-platform https://pip.pypa.io/en/stable/cli/pip_download/#cmdoption-pl... https://peps.python.org/pep-0425/ https://peps.python.org/pep-0425/