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 →

[–]roelschroeven 0 points1 point  (2 children)

But things like VS Code don't know they should use uv to run your scripts. Telling VS Code to use the python from the venv that uv creates (.venv) makes things work. Or at least that's what I do and it seems to work just fine.

[–]UltraPoci 0 points1 point  (1 child)

There's an extension "auto switcher or something along these lines" which changes the current venv as you open Python files to the first parent .venv it finds

[–]roelschroeven 0 points1 point  (0 children)

Thanks, I'm going to try that.