How do I use the output of `pants export --symlink...
# general
p
How do I use the output of
pants export --symlink-python-virtualenv --resolve=python-default
in vscode? 🤔
h
I export it and then symlink the exported directory to
<repo root>/venv
👍 1
Alternatively, you can use the python interpreter selection UI to point to the exported venv where it lives
The first option is nice because vscode just does the right thing
p
Symlink reporoot/venv -> dist/export/..../bin/python ?
h
I do something like
ln -snf dist/export/python/virtualenvs/python-default/3.8.10 reporoot/venv
The 3.8.10 just comes from interpreter selection when the venv is created
p
Thanks