PIP and Wheel Platform Specific Questions [on hold]

Multi tool use


PIP and Wheel Platform Specific Questions [on hold]
I have a couple of questions about PIP and Wheel:
If I've built multiple wheels for different platforms, and upload to PyPI does PIP install <package>
automatically install the correct wheel that matched the platform?
PIP install <package>
If I've built a Linux specific wheel only and upload to PyPI, and someone on Windows/Mac trying to install it by running pip install <package>
, what will happen?
pip install <package>
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Yes, binary wheels are per platform, pip will only use a wheel that is compatible with the target platform, if there is no such wheel then the wheel is not used (if a source distribution is available then that'll be used to compile a binary extension from locally, otherwise installation fails).
– Martijn Pieters♦
1 min ago
Sorry, this is not how this site works. Stick to one question per post please.
– Martijn Pieters♦
3 mins ago