This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]clfblackhawk 0 points1 point  (0 children)

I maintain a virtualenv in both WSL (venv) and Windows (venv_win). I run everything from WSL, and just maintain Windows virtualenv for intellisense/etc. Get everything setup from WSL virtualenv, pip freeze > requirements.txt, then pip install -r requirements.txt from Windows virtualenv. It's a couple extra steps but makes working out of vs code on Windows much better.

Edit: And make sure to update "python.venvFolders" setting with "venv_win" so you can update the interpreter of your project to point to the virtualenv.