Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More actionable error messages when packages aren''t available on an architecture #7701

Open
gramster opened this issue Feb 5, 2020 · 1 comment
Labels
C: error messages Improving error messages type: enhancement Improvements to functionality UX User experience related

Comments

@gramster
Copy link

gramster commented Feb 5, 2020

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

@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Feb 5, 2020
@pradyunsg pradyunsg added this to the Print Better Error Messages milestone Feb 5, 2020
@pradyunsg pradyunsg added the type: enhancement Improvements to functionality label Feb 5, 2020
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Feb 5, 2020
@pradyunsg
Copy link
Member

Partially discussed in #4649
Related to #6526 (possibly duplicate of)

@nlhkabu nlhkabu added C: error messages Improving error messages UX User experience related labels Jul 28, 2020
@nlhkabu nlhkabu removed this from the Print Better Error Messages milestone Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: error messages Improving error messages type: enhancement Improvements to functionality UX User experience related
Projects
None yet
Development

No branches or pull requests

3 participants