More actionable error messages when packages aren''t available on an architecture #7701
Labels
C: error messages
Improving error messages
type: enhancement
Improvements to functionality
UX
User experience related
What's the problem this feature will solve?
It would be useful, especially for users new to Python, when a package is not found, to see if that package is available on other architectures, and give a meaningful error message. For example, Facebook only built 64-bit versions of torch, but the default Python on python.org for Windows is 32-bit, and this can cause frustration to users who don't realize this, and just get a message that the package installation couldn't be satisfied.
Describe the solution you'd like
An error message, something like:
"torch 1.4.0 is only available for 64-bit Python, but your are trying to install it with a 32-bit version of Python. Please install a 64-bit version of Python and try again."
We have seen this happen with users and its confusing to them (by we, I mean the Visual Studio Code team).
Alternative Solutions
Additional context
The text was updated successfully, but these errors were encountered: