r/vscode • u/NeedSomeHelp_2590 • 1d ago
How to get VS Code (Flatpak) work with python libraries?
Beginner here. Is there any way to configure python libraries in Vs Code. I tried to make venv folder in my python folder, it installed libraries on 3.14 version of python but VS Code (Flatpak) is using 3.13 so it doesn't detect installed libraries.
I use Flatpak as its easier to just delete and reinstall it, as I mess with it a lot.
So any way to make it work, or I have to get RPM verison?
3
Upvotes
1
u/runawayasfastasucan 1d ago
You have to select which environtment that vscode should use, and select the one you created. You make a venv in your project folder, so the folder you made to put your code in.
Also see this https://code.visualstudio.com/docs/python/environments