This is a regression where pipenv uninstall --all fails when the venv does not exist.
The solution
Add a check to make sure the environment is valid (venv exists).
ref #6185
[x] Associated issue
[x] A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.
The issue
This is a regression where
pipenv uninstall --all
fails when the venv does not exist.The solution
Add a check to make sure the environment is valid (venv exists).
ref #6185
news/
directory to describe this fix with the extension.bugfix.rst
,.feature.rst
,.behavior.rst
,.doc.rst
..vendor.rst
. or.trivial.rst
(this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.