besides IOError as e: if e.errno == errno.EACCES: return "some default details" # Not a permission mistake. elevateIf you already have your virtualenvs, you only should open VSCode Tastes (Ctrl + ,) and seek for venv. Then add the path from the virtualenvs towards the “Venv Path” settings, like so:Most likely adding this remark enables it to st