Get path of virtual environment in pipenv

amir picture amir · Dec 15, 2018 · Viewed 20.6k times · Source

How to can get the path of virtualenv in pipenv?

can configure it to use a custom path for newly created virtualenv?

Answer

Sewagodimo Matlapeng picture Sewagodimo Matlapeng · Dec 16, 2018

The following should give you the paths

$ pipenv --where
/home/wonder/workspace/myproj
$ pipenv --venv
/home/wonder/PyEnvs/myproj-BKbQCeJj