[pipenv] How to remove a virtualenv created by "pipenv run"

I am learning Python virtual environment. In one of my small projects I ran

pipenv run python myproject.py

and it created a virtualenv for me in C:\Users\USERNAME\.virtualenvs

I found it also created or modified some files under my project source code directory. I am just wondering how to cleanly delete this virtualenv and reverse my project back to a no-virtualenv state.

I am using python 3.6.4, and PyCharm.

This question is related to pipenv

The answer is


I know that question is a bit old but

In root of project where Pipfile is located you could run

pipenv --venv

which returns

/Users/your_user_name/.local/share/virtualenvs/model-N-S4uBGU

and then remove this env by typing

rm -rf /Users/your_user_name/.local/share/virtualenvs/model-N-S4uBGU