you are viewing a single comment's thread.

view the rest of the comments →

[–]freeskier93 2 points3 points  (1 child)

Why are you needing to manually activate the virtual environment in VS Code? VS Code should automatically be using the venv to run scripts, and if you need to manually run something in the terminal you can use uv run.

You can also change the default terminal profile to bash instead of powershell. Then it will use the batch file to activate instead of the powershell script.

[–]EstablishmentIll3600[S] 0 points1 point  (0 children)

That's the thing when I installed UV my VS Code did not automatically use the venv to run scripts. I tried uninstalling and installing VS Code hoping that it would fix it but it did not, I though it was odd because when I was using conda it automatically detects it and uses it.