Hi all, just a quick question regarding the python...
# general
t
Hi all, just a quick question regarding the python interpreter path. I'm using
pyenv
to manage the python version and then dynamically setting
.vscode/settings.json
to
{"python.defaultInterpreterPath": sys.executable}
in order to get autocomplete functionality etc. This path typically points to the venv in the cache directory. Is this right approach or do you recommend another setup for VSCode? Thanks.
e
Give https://www.pantsbuild.org/docs/setting-up-an-ide a try if you haven't already and report back.
t
Yep thanks. This path works now: "/dist/export/python/virtualenvs/python-default/3.10.9/bin/python3"