forked from DonJayamanne/pythonVSCode
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect argument in pipenv error message (#5254)
This adds some additional checks when detecting the python interpreter specified by pipenv. The checks allow us to give more useful error messages to the user. The first check runs pipenv --version just to see if the pipenv command can be found on the system. If not, the user is notified and a suggestion on how to fix the problem is made. The second check tests to see if the virtual environment used by pipenv has been setup yet. If not, it is suggested to the user to set it up manually. The old error message that showed the full output of the failed pipenv command has been removed (it is still loged though).
- Loading branch information
1 parent
ec41c73
commit 928110b
Showing
3 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve pipenv error messages (thanks [David Lechner](https://github.com/dlech)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters