You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pyenv and pyenv-virtualenv, I had a virtual environment named X on python 3.7.3. I looked into upgrading to python 3.8, so I removed the virtual environment, and renamed it X once again, but this time under python 3.8.12. But vscode was somehow still showing that the venv was running on python 3.7.3 despite the version itself not existing anymore on my system.
I was confused why this was being an issue since I hadn't changed anything about python.pythonPath, but upon hovering over the key I found out that it's been deprecated. The following article talks about how it's being moved into persistent storage.
So the path has been cached along with the now deleted version, and since pyenv uses symlinks to handle versions and virtual environments, vscode hasn't noticed nor tried to refresh this information.
The problem is... I have no way to wipe this erroneous cache off of persistent storage because it's been locked down behind the extensions API. I tried out the Clear Storage extension in hopes of fixing this quickly but to no avail.
Is there any way to clear, or make vscode ignore this feature?
area-environmentsFeatures relating to handling interpreter environments
2 participants
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Using pyenv and pyenv-virtualenv, I had a virtual environment named

Xon python 3.7.3. I looked into upgrading to python 3.8, so I removed the virtual environment, and renamed itXonce again, but this time under python 3.8.12. But vscode was somehow still showing that the venv was running on python 3.7.3 despite the version itself not existing anymore on my system.I was confused why this was being an issue since I hadn't changed anything about
python.pythonPath, but upon hovering over the key I found out that it's been deprecated. The following article talks about how it's being moved into persistent storage.So the path has been cached along with the now deleted version, and since pyenv uses symlinks to handle versions and virtual environments, vscode hasn't noticed nor tried to refresh this information.
The problem is... I have no way to wipe this erroneous cache off of persistent storage because it's been locked down behind the extensions API. I tried out the Clear Storage extension in hopes of fixing this quickly but to no avail.
Is there any way to clear, or make vscode ignore this feature?
All reactions