forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Log the user's environment when the attempt to execute pipenv returns ENOENT #1338
Copy link
Copy link
Closed
Labels
debtCode quality issuesCode quality issues
Milestone
Description
Environment data
- VS Code version: 1.21.1
- Extension version (available under the Extensions sidebar): 2018.3.1
- OS and version: Solus 3.999 (Linux)
- Python version (& distribution if applicable, e.g. Anaconda): 3.6.4
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...):
pipenv
Actual behavior
Getting a warning saying pipenv is not on path.
Workspace contains pipfile but attempt to run 'pipenv --venv' failed with Error: spawn pipenv ENOENT. Make sure pipenv is on the PATH.
which pipenv
$HOME/.local/bin/pipenv
pipenv installed using pip3 install pipenv --user
Expected behavior
Don't show a warning because it it clearly on my PATH
Steps to reproduce:
pip3 install pipenv --userexport PATH=$PATH:$HOME/.local/bin
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
No output shown
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
No output shown
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
debtCode quality issuesCode quality issues