Where does pipenv install packages?

Shamoon picture Shamoon · Feb 23, 2019 · Viewed 8.5k times · Source

I'm using vscode, and my editor shows:

enter image description here

The red is showing that it can't import those packages. I'm using a pipenv virtual environment and for the life of me, I can't figure out where it installs the packages.

If I could, I could just add that to $PYTHONPATH and life would be better.

Any help?

Answer

forzagreen picture forzagreen · Jun 19, 2019

pipenv installs packages in ~/.local/share/virtualenvs/

To find the complete path, run pipenv --venv