Log the user's environment when the attempt to execute pipenv returns ENOENT
See original GitHub issueEnvironment 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 --user
export 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
Issue Analytics
- State:
- Created 5 years ago
- Comments:46 (13 by maintainers)
Top Results From Across the Web
Frequently Encountered Pipenv Problems - Read the Docs
Run the following command: pipenv lock --clear. and try again. If this does not work, try manually deleting the whole cache directory.
Read more >VSCode cannot find pipenv: spawn pipenv ENOENT
Workspace contains pipfile but attempt to run 'pipenv --venv' failed with 'spawn pipenv ENOENT'. Make sure pipenv is on the PATH.
Read more >Common Pipenv Errors
The command pipenv install first attempts to build a virtual environment from the Pipfile. lock. If the Pipfile. lock is unavailable, Pipenv ......
Read more >Pipenv: A Guide to the New Python Packaging Tool
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and the good...
Read more >Configure a Pipenv environment | IntelliJ IDEA ...
Install Pipenv. Run the following command to ensure you have pip installed in your system: $ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Installing the release version of the extension should work. We released a new version yesterday.
Having exactly the same issue here. VSCode Windows 1.22.2 x64, Shell 1.7.12 Message : “Workspace contains pipfile but attempt to run ‘pipenv --venv’ failed with Error: spawn pipenv ENOENT. Make sure pipenv is on the PATH.”